Commit a5c036a4 by chenwq

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

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