1cc86b08 by liangyifan

bug优化

1 parent 4ec9e5b2
......@@ -40,8 +40,8 @@
</ul> -->
<el-menu default-active="0" @select="selectItems">
<el-menu-item
:index="index"
v-for="(item, index) in unitData"
:index="index.toString()"
:key="index"
>
<i>
......@@ -125,7 +125,7 @@ export default {
},
methods: {
selectItems(index) {
//this.$alert(index);
this.$alert(this.unitData[index].bsmSldy);
//this.$store.state.adminleftnavnum = index;
if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) {
......