mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 12:12:01 +08:00
wip: refactor layout
This commit is contained in:
@@ -97,11 +97,6 @@ class Permission extends VuexModule {
|
||||
if (!roles) return true;
|
||||
return roleList.some((role) => roles.includes(role));
|
||||
});
|
||||
// this.commitRoutesState(routes);
|
||||
// Background permissions
|
||||
// warn(
|
||||
// `当前权限模式为:${PermissionModeEnum.ROLE},请将src/store/modules/permission.ts内的后台菜单获取函数注释,如果已注释可以忽略此信息!`
|
||||
// );
|
||||
// 如果确定不需要做后台动态权限,请将下面整个判断注释
|
||||
} else if (permissionMode === PermissionModeEnum.BACK) {
|
||||
const messageKey = 'loadMenu';
|
||||
|
Reference in New Issue
Block a user