From 49fcdb7178dffc69769e2fb8cb6a03e204cb1e68 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 31 五月 2024 18:26:42 +0800
Subject: [PATCH] 测试完成

---
 src/App.vue |   33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 29de49f..798390b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -2,6 +2,7 @@
   <div id="app">
     <router-view />
     <theme-picker />
+    <Assistant />
   </div>
 </template>
 
@@ -10,18 +11,32 @@
 
 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>
+#app {
+  overflow-y: scroll;
+  height: 100vh;
+  background: #f8fafd;
+  /* font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif, "瀹嬩綋"; */
+  font-family: "Hiragino Sans GB";
+}
 #app .theme-picker {
   display: none;
 }

--
Gitblit v1.9.3