fix: 按钮权限判断权限异常
parent
36214e1971
commit
97de2d680b
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue