Fix:2697 【地标好物】扫二维码需要直接进入相应的省份

This commit is contained in:
linxi
2024-11-27 09:26:00 +08:00
parent b536f2ad68
commit a302f11b95
+4 -1
View File
@@ -125,7 +125,10 @@ export default {
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()
},
onHide() {