场站+服务管理功能开发,角色权限完善,总览弹窗接口联调

This commit is contained in:
ym1026
2025-09-09 09:33:14 +08:00
parent c1cce63c85
commit 7a50130d12
20 changed files with 1741 additions and 244 deletions

View File

@@ -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)) {