From 8972dfe8e767dcfaf021219bd922988fbee0c3d3 Mon Sep 17 00:00:00 2001 From: houakang Date: Sun, 12 Apr 2026 22:14:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF):=20?= =?UTF-8?q?=E5=9C=A8=E4=BE=A7=E8=BE=B9=E6=A0=8F=E6=98=BE=E7=A4=BA=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=98=B5=E7=A7=B0=E5=92=8C=E9=82=AE=E7=AE=B1=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20userStore=20=E4=B8=AD=E7=9A=84=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=9B=BF=E6=8D=A2=E7=A1=AC=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E7=9A=84=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/App.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 6d14b3f..6f83007 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -80,8 +80,8 @@
-
123
-
12321
+
{{ userStore.nickname }}
+
{{ userStore.email }}
@@ -111,6 +111,7 @@ import { ref, onMounted, onUnmounted, computed, watch } from 'vue'; import { useRoute } from 'vue-router'; import { useAppStore } from '@/stores/app'; import { useHistoryStore } from '@/stores/history'; +import { useUserStore } from '@/stores/user'; import { House, Monitor, Expand, Fold, ChatDotRound, Search, Collection, Clock } from '@element-plus/icons-vue'; import router from '@/router'; import axios from 'axios'; @@ -118,6 +119,7 @@ import axios from 'axios'; const route = useRoute(); const appStore = useAppStore(); const historyStore = useHistoryStore(); +const userStore = useUserStore(); const statusLabel = computed(() => { switch (appStore.serviceStatus) {