diff --git a/src/pages/loading.vue b/src/pages/loading.vue index 81c568db..a9a01685 100644 --- a/src/pages/loading.vue +++ b/src/pages/loading.vue @@ -49,20 +49,8 @@ export default { }, methods: { ...mapActions(['agentSign']), - redirectTo(path) { - let {query, hash} = this.$route - delete query.app - uni.navigateTo({ - url: `/apps${path}`, success: () => { - this.$router.push({query, hash}) - }, - fail: err => { - console.error(err) - } - }) - }, handleGotoApp(app) { - uni.navigateTo({url: `/apps${app.path}`}) + uni.navigateTo({url: `/${this.currentLib}${app.path}`}) }, handleLogin() { uni.navigateTo({url: "./login"})