feat(ui): 重做工作台、登录页与系统管理页交互
- 工作台重做统计卡、待办概览与访问趋势配色 - 登录页重做品牌区、验证码刷新与演示账号填充 - 系统管理页统一筛选栏与工具栏,行操作折叠到更多菜单 - 修复登录跳转与会话失效重定向的嵌套
This commit is contained in:
1 parent
df297b55cc
commit
38189e5fdf
112 files changed
+2339
-1797
No files matched your search
@@ -2,7 +2,7 @@ import { ROLE_ROOT } from "@/constants";
|
||||
import { useUserStoreHook } from "@/stores/user";
|
||||
|
||||
/**
|
||||
* 与权限指令共用;*:*:* 作为组件约定表示无需权限。
|
||||
* 与权限指令共用;*:*:* 作为组件约定表示无需权限
|
||||
*/
|
||||
export function hasPerm(value: string | string[]): boolean {
|
||||
const { roles, perms } = useUserStoreHook().userInfo;
|
||||
|
||||
Reference in new issue
Block a user