chore: 脚手架

This commit is contained in:
dap
2024-08-07 08:57:56 +08:00
parent 4bd4f7490b
commit c31259598b
83 changed files with 2127 additions and 225 deletions

View File

@@ -12,6 +12,10 @@ interface BasicUserInfo {
* 头像
*/
avatar: string;
/**
* 用户权限
*/
permissions: string[];
/**
* 用户昵称
*/
@@ -19,11 +23,11 @@ interface BasicUserInfo {
/**
* 用户角色
*/
roles?: string[];
roles: string[];
/**
* 用户id
*/
userId: string;
userId: number | string;
/**
* 用户名
*/

View File

@@ -88,7 +88,7 @@ const defaultPreferences: Preferences = {
colorPrimary: 'hsl(231 98% 65%)',
colorSuccess: 'hsl(144 57% 58%)',
colorWarning: 'hsl(42 84% 61%)',
mode: 'dark',
mode: 'auto',
radius: '0.5',
semiDarkMenu: true,
},