This commit is contained in:
shijingjing
2023-03-15 16:21:11 +08:00
parent 78d6862d9f
commit 2168403b2f
2 changed files with 2 additions and 1 deletions

View File

@@ -168,7 +168,7 @@ export default {
}, },
clickLaw(index) { clickLaw(index) {
uni.switchTab({ uni.switchTab({
url: `/pages/AppLegalLearning/AppLegalLearning?inx=${index}` url: '/pages/AppLegalLearning/AppLegalLearning?inx=' + index
}) })
}, },
handleActive({type, appId, url}) { handleActive({type, appId, url}) {

View File

@@ -49,6 +49,7 @@ export default {
}, },
onLoad(o) { onLoad(o) {
if(o) { if(o) {
console.log(o);
this.currIndex = o.inx this.currIndex = o.inx
} }
}, },