|
@@ -4,7 +4,6 @@
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-menu :default-active="activeIndex2" class="el-menu-demo" mode="horizontal"
|
|
<el-menu :default-active="activeIndex2" class="el-menu-demo" mode="horizontal"
|
|
background-color="#336699" text-color="#fff" active-text-color="#fff" style="height:40px;" :router="true">
|
|
background-color="#336699" text-color="#fff" active-text-color="#fff" style="height:40px;" :router="true">
|
|
- <el-menu-item index="/">首页</el-menu-item>
|
|
|
|
<!-- 循环菜单↓ -->
|
|
<!-- 循环菜单↓ -->
|
|
<template v-for="(item, index) in menu">
|
|
<template v-for="(item, index) in menu">
|
|
<el-submenu :index="`${index}`" :key="index" v-if="item.type !== 'url' && item.type !== 'content'">
|
|
<el-submenu :index="`${index}`" :key="index" v-if="item.type !== 'url' && item.type !== 'content'">
|