Fix:2697 【地标好物】扫二维码需要直接进入相应的省份
This commit is contained in:
@@ -125,7 +125,10 @@ export default {
|
|||||||
return this.navList[this.navIndex] ? this.navList[this.navIndex]['id'] : null
|
return this.navList[this.navIndex] ? this.navList[this.navIndex]['id'] : null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad(opts) {
|
||||||
|
if(opts && opts.id) {
|
||||||
|
this.navIndex = navList.map(e => +e.id).indexOf(+opts.id)
|
||||||
|
}
|
||||||
this.getNavList()
|
this.getNavList()
|
||||||
},
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
|
|||||||
Reference in New Issue
Block a user