|
@@ -167,7 +167,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
handleSelect(key,keyPath) {
|
|
|
- console.log(keyPath);
|
|
|
+ // console.log(keyPath);
|
|
|
this.getSrcIndex(keyPath)
|
|
|
//点击之后存到本地存储,便于刷新之后调用
|
|
|
localStorage.setItem('currentSrcIndex', this.srcIndex)
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
this.srcIndex = '1'
|
|
|
}
|
|
|
} else {
|
|
|
- const currentSrcIndex = keyPathArr[0].split(',')[0]
|
|
|
+ const currentSrcIndex = keyPathArr[0]
|
|
|
this.srcIndex = currentSrcIndex
|
|
|
}
|
|
|
},
|