diff --git a/src/boot/global.js b/src/boot/global.js index ef2bde7..6e28842 100644 --- a/src/boot/global.js +++ b/src/boot/global.js @@ -11,6 +11,20 @@ let defaultProfile = { defaultPrimaryColor: "#009688", backgroundImg: null, codeHistory: {}, + quickFeatures: { + favFile: { + enable: false, + tag: "文件" + }, + favUrl: { + enable: false, + tag: "网址" + }, + pluNickName: { + enable: false, + tag: "别名" + }, + } } let userProfile = UTOOLS.getDB( UTOOLS.DBPRE.CFG + "preferences" @@ -19,7 +33,7 @@ Object.assign(defaultProfile, userProfile) // "async" is optional; // more info on params: https://v2.quasar.dev/quasar-cli/boot-files -export default boot(async({ +export default boot(async ({ app }) => { app.config.globalProperties.$utools = UTOOLS diff --git a/src/components/ConfigurationMenu.vue b/src/components/ConfigurationMenu.vue index d5613e3..e5864a9 100644 --- a/src/components/ConfigurationMenu.vue +++ b/src/components/ConfigurationMenu.vue @@ -1,6 +1,6 @@