#3080 按钮权限示例的判断权限异常

This commit is contained in:
huangxiaomin 2023-09-27 13:58:35 +08:00
parent 9f6d61d02c
commit d46c6daa13

View File

@ -63,7 +63,7 @@ export function usePermission() {
return def;
}
const permMode = projectSetting.permissionMode;
const permMode = appStore.getProjectConfig.permissionMode;
if ([PermissionModeEnum.ROUTE_MAPPING, PermissionModeEnum.ROLE].includes(permMode)) {
if (!isArray(value)) {