优化页面

This commit is contained in:
yzy committed 2026-01-21 11:07:37 +08:00
1 parent 6a822548b1
commit fb4888188f
5 files changed
+412 -4

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ export const useUserStore = defineStore(
const isLoggedIn = computed(() => isLogin.value && token.value !== '');
// 计算属性 - 用户头像
const userAvatar = computed(() => userInfo.value.avatar || '/static/default-avatar.png');
const userAvatar = computed(() => userInfo.value.avatar || '/static/avatar.png');
// 计算属性 - 用户昵称
const userName = computed(() => userInfo.value.nickName || userInfo.value.trueName || '游客');