路由跳转
This commit is contained in:
parent
00f43f2580
commit
cc1ff07808
|
@ -13,7 +13,7 @@
|
|||
|
||||
<el-menu unique-opened :collapse="isCollapsed" :collapse-transition="false"
|
||||
background-color="#313743"
|
||||
text-color="#fff"
|
||||
text-color="#fff" router
|
||||
active-text-color="#3497FF">
|
||||
<el-submenu :index="item.id + ''" v-for="item in menuList" :key="item.id">
|
||||
<!-- 一级菜单模板 -->
|
||||
|
@ -24,7 +24,7 @@
|
|||
<span>{{item.authName}}</span>
|
||||
</template>
|
||||
<!--二级菜单-->
|
||||
<el-menu-item :index="subitem.id+''" v-for="subitem in item.children " :key="subitem.id + ''">
|
||||
<el-menu-item :index="'/'+subitem.path" v-for="subitem in item.children " :key="subitem.id + ''">
|
||||
<!--图标-->
|
||||
<i class="el-icon-menu"></i>
|
||||
<!--文本-->
|
||||
|
|
Loading…
Reference in New Issue
Block a user