fix:router添加权限

This commit is contained in:
shijing 2024-05-23 09:26:51 +08:00
parent 4ab4bc7214
commit f5d4fc1ced
1 changed files with 3 additions and 2 deletions

View File

@ -805,7 +805,7 @@ const routes = [
"title": "环保模块",
"icon": "el-icon-grid",
"type": "menu",
// "perms": ["enm_hb"]
"perms": ["enm_hb"]
},
"children": [
{
@ -814,7 +814,7 @@ const routes = [
"meta": {
"title": "排放口",
"icon": "el-icon-cellphone",
// "perms": ["enm_hb"]
"perms": ["enm_hb"]
},
"component": "enp/pfk"
}
@ -2397,6 +2397,7 @@ const routes = [
"meta": {
"title": "日志详情",
"icon": "el-icon-document-copy",
"perms": ["enm_base"],
"hidden": true
},
"component": "enm_rm/logDetail"