摘要: <template> <div id="appp" class="app" > <header> <a href="javascript:void(0);" :class="active == '#home' ? 'active' : ''" @click="toTarget('#home')">首页</a> <a href="javascript:void 阅读全文
posted @ 2019-12-30 15:00 Jinsuo 阅读(1491) 评论(0) 推荐(0) 编辑
摘要: //html部分 <el-menu background-color="#3f4d67" text-color="#fff" :default-active="$route.path" :unique-opened="true" :router="true" mode="vertical" > <template v-for="item in menu"> <!-- 多级菜单外壳 --> <el- 阅读全文
posted @ 2019-12-30 14:55 Jinsuo 阅读(347) 评论(0) 推荐(0) 编辑