优化页面
This commit is contained in:
1 parent
6a822548b1
commit
fb4888188f
5 files changed
+412
-4
No files matched your search
+1
-1
@@ -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 || '游客');
|
||||
|
||||
Reference in new issue
Block a user