diff --git a/src/components/AppBar.vue b/src/components/AppBar.vue index dd46187..19bb83a 100644 --- a/src/components/AppBar.vue +++ b/src/components/AppBar.vue @@ -3,11 +3,7 @@
- + @@ -16,67 +12,37 @@ - + - - - - - - + - + {{ configStore.app_name }} diff --git a/src/stores/app.ts b/src/stores/app.ts index c5259d4..c20f7dd 100644 --- a/src/stores/app.ts +++ b/src/stores/app.ts @@ -5,5 +5,27 @@ export const useAppStore = defineStore("app", { persist: true, state: () => ({ navigation_drawer: false, + navigation_items: [ + { + icon: "mdi-home", + text: "主页", + to: "/", + }, + { + icon: "mdi-assistant", + text: "助理", + to: "/assistants", + }, + { + icon: "mdi-tools", + text: "工具", + to: "/tools", + }, + { + icon: "mdi-web", + text: "联通测试", + to: "/ping", + } + ], }), });