参数存本地

This commit is contained in:
shijingjing
2023-03-15 16:51:26 +08:00
parent 17543b1fca
commit 43b7aa757b
2 changed files with 10 additions and 7 deletions

View File

@@ -167,8 +167,11 @@ export default {
}
},
clickLaw(index) {
uni.relaunch({
url: '/pages/AppLegalLearning/AppLegalLearning?inx=' + index
uni.switchTab({
url: '/pages/AppLegalLearning/AppLegalLearning',
success: ()=> {
uni.setStorageSync('inx', index)
}
})
},
handleActive({type, appId, url}) {