fix: 统一BasicUserInfo (#8133)

This commit is contained in:
luoqiz
2026-07-09 13:23:29 +08:00
committed by GitHub
parent 9769c11de5
commit 14d03a1c2d
2 changed files with 3 additions and 24 deletions

View File

@@ -8,6 +8,7 @@ type SelectOption = BasicOption;
type TabOption = BasicOption;
interface BasicUserInfo {
[key: string]: any;
/**
* 头像
*/

View File

@@ -1,28 +1,6 @@
import { acceptHMRUpdate, defineStore } from 'pinia';
import type { BasicUserInfo } from '@vben-core/typings';
interface BasicUserInfo {
[key: string]: any;
/**
* 头像
*/
avatar: string;
/**
* 用户昵称
*/
realName: string;
/**
* 用户角色
*/
roles?: string[];
/**
* 用户id
*/
userId: string;
/**
* 用户名
*/
username: string;
}
import { acceptHMRUpdate, defineStore } from 'pinia';
interface AccessState {
/**