feat: 新增个人中心页面

This commit is contained in:
valarchie
2023-07-25 19:49:16 +08:00
parent fb14f5d075
commit 167d4122b7
32 changed files with 1093 additions and 5 deletions

View File

@@ -30,7 +30,9 @@ export const useUserStore = defineStore({
dictionaryMap:
storageLocal().getItem<Map<String, Map<String, DictionaryData>>>(
dictionaryMapKey
) ?? new Map()
) ?? new Map(),
currentUserInfo:
storageSession().getItem<TokenDTO>(sessionKey)?.currentUser.userInfo ?? {}
}),
actions: {
/** 存储用户名 */