refactor: ♻️ 授权页面重构

重构授权页面
This commit is contained in:
猿小天
2023-06-05 22:21:19 +08:00
parent 8c0a04ce61
commit f7b94e496c
11 changed files with 600 additions and 56 deletions

View File

@@ -9,7 +9,7 @@ export default {
return XEUtils.includeArrays(BtnPermission, value)
}else if(typeof value === 'string'){
const index = XEUtils.arrayIndexOf(BtnPermission, value)
return index>0?true:false
return index>-1?true:false
}
}
return true