Commit 1b932158 authored by youjie's avatar youjie

no message

parent 5d259f5f
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
:default-active="$route.path"> :default-active="$route.path">
<template v-for="(item,index) in navList"> <template v-for="(item,index) in navList">
<template v-if="item.GCode!='默认'"> <template v-if="item.GCode!='默认'">
<el-submenu :index="item.list[0].MenuUrl?item.list[0].MenuUrl:index"> <el-submenu :index="item.list&&item.list.length>0&&item.list[0].MenuUrl?item.list[0].MenuUrl:String(index)">
<template slot="title"> <template slot="title">
<span>{{ item.GCode }}</span> <span>{{ item.GCode }}</span>
</template> </template>
......
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