route 修改

This commit is contained in:
曹前明 2022-07-15 17:01:57 +08:00
parent 5d89acd012
commit ea1cffeff6
2 changed files with 21 additions and 17 deletions

View File

@ -43,7 +43,6 @@ const routes = [
"title": "控制台", "title": "控制台",
"icon": "el-icon-monitor", "icon": "el-icon-monitor",
"affix": true, "affix": true,
}, },
"component": "home" "component": "home"
}, },
@ -656,7 +655,8 @@ const routes = [
"meta": { "meta": {
"title": "运维", "title": "运维",
"icon": "el-icon-wallet-filled", "icon": "el-icon-wallet-filled",
"type": "menu" "type": "menu",
"perms": ["ops"]
}, },
"children": [ "children": [
{ {
@ -665,6 +665,7 @@ const routes = [
"meta": { "meta": {
"title": "菜单管理", "title": "菜单管理",
"icon": "el-icon-fold", "icon": "el-icon-fold",
"perms": ["menu"]
}, },
"component": "ops/menu" "component": "ops/menu"
}, },
@ -674,6 +675,7 @@ const routes = [
"meta": { "meta": {
"title": "请求日志", "title": "请求日志",
"icon": "el-icon-fold", "icon": "el-icon-fold",
"perms": ["log"]
}, },
"component": "ops/log_request" "component": "ops/log_request"
}, },
@ -683,6 +685,7 @@ const routes = [
"meta": { "meta": {
"title": "第三方日志", "title": "第三方日志",
"icon": "el-icon-fold", "icon": "el-icon-fold",
"perms": ["third_log"]
}, },
"component": "ops/thirdLogs" "component": "ops/thirdLogs"
}, },
@ -692,6 +695,7 @@ const routes = [
"meta": { "meta": {
"title": "文件日志", "title": "文件日志",
"icon": "el-icon-fold", "icon": "el-icon-fold",
"perms": ["file_log"]
}, },
"component": "ops/files" "component": "ops/files"
}, },