mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 18:40:22 +08:00
#3080 按钮权限示例的判断权限异常
This commit is contained in:
parent
9f6d61d02c
commit
d46c6daa13
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user