Commit c85ed705 authored by 王晓铜's avatar 王晓铜

菜单更新

parent 8cf764fe
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<!-- 二级菜单 --> <!-- 二级菜单 -->
<el-menu-item :index="subItem.path" v-for="subItem in item.child" :key="subItem.path" @click="saveNavState(subItem.path)"> <el-menu-item :index="subItem.path" v-for="subItem in item.child" :key="subItem.path" @click="saveNavState(subItem.path)">
<template v-if="subItem.show !== 'false'" slot="title"> <template slot="title">
<i :class="subItem.icon"></i> <i :class="subItem.icon"></i>
<span>{{ subItem.title }}</span> <span>{{ subItem.title }}</span>
</template> </template>
......
...@@ -122,15 +122,7 @@ ...@@ -122,15 +122,7 @@
"title": "场景管理", "title": "场景管理",
"icon": "el-icon-thumb", "icon": "el-icon-thumb",
"path": "/auto/SceneList" "path": "/auto/SceneList"
},
{
"id": 6,
"title": "新增接口",
"show": "false",
"icon": "el-icon-bank-card",
"path": "/auto/AddInterface"
} }
] ]
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment