refactor:基于 lint 处理排版(框架层面)

This commit is contained in:
YunaiV
2025-04-22 22:17:41 +08:00
parent fb785894b6
commit c0a92a5694
10 changed files with 59 additions and 39 deletions

View File

@@ -88,7 +88,7 @@ export const useAccessStore = defineStore('core-access', {
},
setTenantId(tenantId: null | number) {
this.tenantId = tenantId;
}
},
},
persist: {
// 持久化
@@ -102,7 +102,7 @@ export const useAccessStore = defineStore('core-access', {
isAccessChecked: false,
loginExpired: false,
refreshToken: null,
tenantId: null
tenantId: null,
}),
});

View File

@@ -6,6 +6,10 @@ interface BasicUserInfo {
* 头像
*/
avatar: string;
/**
* 用户邮箱
*/
email?: string;
/**
* 用户昵称
*/
@@ -18,10 +22,6 @@ interface BasicUserInfo {
* 用户名
*/
username: string;
/**
* 用户邮箱
*/
email?: string;
}
interface AccessState {
@@ -50,7 +50,7 @@ export const useUserStore = defineStore('core-user', {
state: (): AccessState => ({
userInfo: null,
userRoles: [],
})
}),
});
// 解决热更新问题