diff --git a/nuxt.config.js b/nuxt.config.js index 8a37b93..b9d1ce3 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -37,7 +37,7 @@ export default { ** Plugins to load before mounting the App ** https://nuxtjs.org/guide/plugins */ - plugins: ['@/plugins/element-ui','@/plugins/vue-cookies','@/plugins/global','@/plugins/moment','@/plugins/contextmenu'], + plugins: ['@/plugins/element-ui','@/plugins/vue-cookies','@/plugins/global','@/plugins/moment','@/plugins/contextmenu','@/plugins/uuid'], /* ** Auto import components ** See https://nuxtjs.org/api/configuration-components @@ -193,9 +193,10 @@ export default { "add_tip_fail": "笔记添加失败", "add_tip_ok": "笔记添加成功", "auto_save": "失去焦点自动保存", - "click_note_list": "选中内容定位笔记", + "click_note_list": "单击卡片定位笔记", "contextmenu_err": "请选中文本进行操作", "del_confirm": "确认删除此笔记?", + "note_zero": "还没有任何笔记,尝试正文选中文本右击添加一个笔记吧!", "rating_1": "本文对您的科研工作是否有帮助", "rating_2": "本文的内容是否科学严谨", "rating_3": "您对本文的推荐程度", @@ -340,6 +341,7 @@ export default { "click_note_list": "", "contextmenu_err": "", "del_confirm": "", + "note_zero": "", "rating_1": "", "rating_2": "", "rating_3": "", diff --git a/package.json b/package.json index 6e3b83c..1f726bc 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "nuxt-i18n": "^6.13.1", "v-contextmenu": "^2.9.0", "vue-cookies": "^1.7.2", - "vue-runtime-helpers": "^1.1.2" + "vue-runtime-helpers": "^1.1.2", + "vue-uuid": "^2.0.2" }, "devDependencies": { "@nuxt/typescript-build": "^1.0.3", diff --git a/pages/index/read.vue b/pages/index/read.vue index 3998d29..6454029 100644 --- a/pages/index/read.vue +++ b/pages/index/read.vue @@ -1,5 +1,5 @@