同步页面跳转
This commit is contained in:
@@ -21,8 +21,13 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
...mapMutations(['initWaterMarker', 'logout', 'getConfig']),
|
...mapMutations(['initWaterMarker', 'logout', 'getConfig']),
|
||||||
goto(params) {
|
goto(params) {
|
||||||
let {path} = this.$route
|
let {path: url, query: {app}} = this.$route
|
||||||
this.$router.push({path, ...params})
|
params.query = {app, ...(params.query || {})}
|
||||||
|
uni.navigateTo({
|
||||||
|
url, success: () => {
|
||||||
|
this.$router.push({...params})
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user