Commit 1e5b7e12 by YoMon

trunk modify

parent d521b43e
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
<keep-alive> <keep-alive>
<div class="main_left" :style="{height: clientHeight + 'px'}"> <div class="main_left" :style="{height: clientHeight + 'px'}">
<el-menu <el-menu
:default-active="item.name" :default-active="$route.path"
class="el-menu-vertical-demo" class="el-menu-vertical-demo"
@open="handleOpen" @open="handleOpen"
@close="handleClose" v-for="(item, index) in leftMenuList"> @close="handleClose" v-for="(item, index) in leftMenuList">
<el-submenu :index="item.name" :default-openeds="[]"> <el-submenu :index="item.name">
<template slot="title"> <template slot="title">
<i class="el-icon-location"></i> <i class="el-icon-location"></i>
<span>{{item.name}}</span> <span>{{item.name}}</span>
......
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