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