|
@@ -3,7 +3,8 @@
|
|
|
<el-col :span="2" :offset="2">
|
|
|
<img class="logoImg" src="../assets/img/log.png"/>
|
|
|
</el-col>
|
|
|
- <el-col :span="2" v-show="roles.indexOf(item.id) >= 0" v-for="(item, index) of menuData" :key="item.id"
|
|
|
+ <!--v-show="roles.indexOf(item.id) >= 0"-->
|
|
|
+ <el-col :span="2" v-for="(item, index) of menuData" :key="item.id"
|
|
|
@click.native="secondNavClick(item,index)">
|
|
|
<span class="lineStyle" :class="{active:index == checkindex,menu_item:true}">{{item.name}}</span>
|
|
|
|
|
@@ -62,7 +63,7 @@ export default {
|
|
|
// this.menuData = JSON.parse(JSON.stringify(this.navsData));
|
|
|
// },
|
|
|
secondNavClick(val, index) {
|
|
|
- this.$router.push("/home/" + val.href);
|
|
|
+ this.$router.push("/super/" + val.href);
|
|
|
this.checkindex = index;
|
|
|
}
|
|
|
},
|