release(custom): i

This commit is contained in:
2023-10-10 15:16:06 +08:00
parent 5d1b96be72
commit a95a8ac0d1
50 changed files with 15273 additions and 4752 deletions

View File

@@ -18,7 +18,10 @@ export const useUserStore = defineStore('user', {
return this.userInfo?.name
},
avatar() {
return this.userInfo?.avatar
return (
this.userInfo?.avatar ||
'https://pic3.58cdn.com.cn/nowater/webim/big/n_v21bc7874294754e63a22b80febac9cf51.jpg'
)
},
role() {
return this.userInfo?.role || []