<el-menu class="sidebar-el-menu" :default-active="onRoutes"
:collapse="collapse" background-color="#eeefef" text-color="#666"
active-text-color="#20a0ff" unique-opened router @select="addTab"> <!-- 一级菜单
--> <template v-for="item in slidebarData" > <el-submenu v-if="item.subs &&
item.subs.length" :index="item.index" :key="item.index"> <template
slot="title"><i :class="item.icon"></i><span>{{item.title}}</span></template>
<!-- 二级菜单 --> <template v-for="itemChild in item.subs"> <el-submenu
v-if="itemChild.subs && itemChild.subs.length" :index="itemChild.index"
:key="itemChild.index" class="erji"> <template slot="title"><i
:class="itemChild.icon"></i><span>{{itemChild.title}}</span></template> <!--
三级菜单 --> <el-menu-item v-for="itemChild_Child in itemChild.subs"
:index="itemChild_Child.index" :key="itemChild_Child.index"> <i
:class="itemChild_Child.icon"></i><span slot="title">{
{itemChild_Child.title}}</span> </el-menu-item> </el-submenu> <el-menu-item
v-else :index="itemChild.index" :key="itemChild.index"><i
:class="itemChild.icon"></i><span slot="title">{
{itemChild.title}}</span></el-menu-item> </template> </el-submenu>
<el-menu-item v-else :index="item.index" :key="item.index"><i
:class="item.icon"></i><span slot="title">{{item.title}}</span></el-menu-item>
</template> </el-menu>```

技术
©2020 ioDraw All rights reserved
2020前端学习路线收集整理【C语言】乘法表29岁“退休程序员”郭宇: 有钱的人不一定自由,自由的人不一定有钱python gui界面实例-Python GUI编程完整示例pytorch训练过程中GPU利用率低学习java 的第一节课vue element-ui实现input输入框金额数字添加千分位对于面试官的问答: 你在项目组里拿到一个项目是怎么开展的呢???算法题的输入大总结小程序表单中 多个循环input 如何取每个input的值