mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-03 12:34:41 +00:00
v3.14.0 更新;【新增】EasyExcel重磅升级为FastExcel;【新增】使用最强Argon2算法作为密码存储;【新增】大家吐槽的数据字典改为可重复;【新增】前端布局再增加多种样式;
This commit is contained in:
@@ -19,7 +19,7 @@ const privilege = (value) => {
|
||||
if (!userPointsList) {
|
||||
return false;
|
||||
}
|
||||
return userPointsList && userPointsList.includes(value);
|
||||
return _.some(userPointsList, ['apiPerms', value]);
|
||||
};
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user