refactor:基于 lint 处理排版(框架层面)
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
@@ -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: [],
|
||||
})
|
||||
}),
|
||||
});
|
||||
|
||||
// 解决热更新问题
|
||||
|
||||
Reference in New Issue
Block a user