feat: 移除mock并接入真实权限控制
This commit is contained in:
Vendored
+1
-1
@@ -5,7 +5,7 @@ declare module "vue" {
|
||||
export interface ComponentCustomProperties {
|
||||
/** `Loading` 动画加载指令,具体看:https://element-plus.org/zh-CN/component/loading.html#%E6%8C%87%E4%BB%A4 */
|
||||
vLoading: Directive<Element, boolean>;
|
||||
/** 按钮权限指令(根据路由`meta`中的`auths`字段进行判断)*/
|
||||
/** 按钮权限指令(根据后端权限码进行判断)*/
|
||||
vAuth: Directive<HTMLElement, string | Array<string>>;
|
||||
/** 文本复制指令(默认双击复制) */
|
||||
vCopy: Directive<CopyEl, string>;
|
||||
|
||||
Vendored
-1
@@ -105,7 +105,6 @@ declare global {
|
||||
ShowLogo?: boolean;
|
||||
ShowModel?: string;
|
||||
MenuArrowIconNoTransition?: boolean;
|
||||
CachingAsyncRoutes?: boolean;
|
||||
TooltipEffect?: Effect;
|
||||
ResponsiveStorageNameSpace?: string;
|
||||
MenuSearchHistory?: number;
|
||||
|
||||
Vendored
-2
@@ -28,8 +28,6 @@ declare global {
|
||||
permission?: string | Array<string>;
|
||||
/** 后端权限菜单 key,用于和 `/api/permissions/me` 返回菜单对应 */
|
||||
menuKey?: string;
|
||||
/** 按钮级别权限设置 `可选` */
|
||||
auths?: Array<string>;
|
||||
/** 路由组件缓存(开启 `true`、关闭 `false`)`可选` */
|
||||
keepAlive?: boolean;
|
||||
/** 内嵌的`iframe`链接 `可选` */
|
||||
|
||||
Reference in New Issue
Block a user