bug优化
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -40,8 +40,8 @@ | ... | @@ -40,8 +40,8 @@ |
40 | </ul> --> | 40 | </ul> --> |
41 | <el-menu default-active="0" @select="selectItems"> | 41 | <el-menu default-active="0" @select="selectItems"> |
42 | <el-menu-item | 42 | <el-menu-item |
43 | :index="index" | ||
44 | v-for="(item, index) in unitData" | 43 | v-for="(item, index) in unitData" |
44 | :index="index.toString()" | ||
45 | :key="index" | 45 | :key="index" |
46 | > | 46 | > |
47 | <i> | 47 | <i> |
... | @@ -125,7 +125,7 @@ export default { | ... | @@ -125,7 +125,7 @@ export default { |
125 | }, | 125 | }, |
126 | methods: { | 126 | methods: { |
127 | selectItems(index) { | 127 | selectItems(index) { |
128 | //this.$alert(index); | 128 | this.$alert(this.unitData[index].bsmSldy); |
129 | //this.$store.state.adminleftnavnum = index; | 129 | //this.$store.state.adminleftnavnum = index; |
130 | 130 | ||
131 | if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) { | 131 | if (this.currentSelectProps.bsmSldy != this.unitData[index].bsmSldy) { | ... | ... |
-
Please register or sign in to post a comment