fix: 按钮权限判断权限异常

pull/38/head
xingyu 2023-10-10 10:55:27 +08:00
parent 36214e1971
commit 97de2d680b
1 changed files with 1 additions and 1 deletions

View File

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