mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
场站+服务管理功能开发,角色权限完善,总览弹窗接口联调
This commit is contained in:
@@ -14,8 +14,8 @@ const btnList = [
|
||||
// isQuery: true;
|
||||
// }
|
||||
function getBtns(arr) {
|
||||
const permissions =
|
||||
JSON.parse(localStorage.getItem('user')).userExtend.role.permissionList[0] || {}
|
||||
// const permissions =
|
||||
// JSON.parse(localStorage.getItem('user')) || {}
|
||||
const btns = []
|
||||
btnList.forEach((item) => {
|
||||
if (arr.includes(item.label)) {
|
||||
|
||||
Reference in New Issue
Block a user