From 96e692bbc9665d4740be16f75f092ff3005b9aa8 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期三, 22 十一月 2023 15:58:24 +0800 Subject: [PATCH] Merge branch 'wulong' of http://116.62.18.175:6699/r/~yxh/smartor-web into yxh01 --- src/App.vue | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/App.vue b/src/App.vue index 29de49f..2bf66ab 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,6 +2,7 @@ <div id="app"> <router-view /> <theme-picker /> + <Assistant /> </div> </template> @@ -10,15 +11,22 @@ export default { name: "App", - components: { ThemePicker }, - metaInfo() { - return { - title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, - titleTemplate: title => { - return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE - } - } - } + components: { + ThemePicker, + Assistant: () => import("./components/Assistant"), //寮傛缁勪欢鍔犺浇鏂瑰紡 + }, + metaInfo() { + return { + title: + this.$store.state.settings.dynamicTitle && + this.$store.state.settings.title, + titleTemplate: (title) => { + return title + ? `${title} - ${process.env.VUE_APP_TITLE}` + : process.env.VUE_APP_TITLE; + }, + }; + }, }; </script> <style scoped> -- Gitblit v1.9.3