Commit fa09c224 authored by youjie's avatar youjie

菜单

parent 97435924
......@@ -101,7 +101,6 @@
</li>
</ul> -->
<el-menu
default-active="1"
class="el-menu-vertical-demo"
background-color="#3d3b4f"
text-color="#fff"
......@@ -109,7 +108,7 @@
:default-active="$route.path">
<template v-for="(item,index) in navList">
<template v-if="item.GCode!='默认'">
<el-submenu :index="item.list[0].MenuUrl">
<el-submenu :index="item.list[0].MenuUrl?item.list[0].MenuUrl:index">
<template slot="title">
<i class="iconfont iconText"></i>
<span>{{ item.GCode }}</span>
......
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