Commit a0d9b0e2 by chenwq

wx.$router.reLaunch('pages.index')

1 parent 7a112769
......@@ -60,7 +60,7 @@ const loginSuccess = () => {
obj
} = setRouteData(targetPath)
wx.$router.reLaunch(url, obj)
} else wx.$router.go('pages.index')
} else wx.$router.reLaunch('pages.index')
}
const loginModal = async ({
message,
......
......@@ -109,7 +109,7 @@ Component({
this.getClientApi()
},
handleJumpIdx() {
wx.$router.go('pages.index')
wx.$router.reLaunch('pages.index')
},
async handleShare(e) {
......
......@@ -19,7 +19,7 @@ Component({
methods: {
nav() {
// debugger
wx.$router.go('pages.index')
wx.$router.reLaunch('pages.index')
}
}
})
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!