mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-06 10:57:09 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -48,5 +48,5 @@ export default {
|
||||
/** 验证用户是否含有指定角色,必须全部拥有 */
|
||||
hasRoleAnd(roles: string[]) {
|
||||
return roles.every((item) => authRole(item))
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user