From ed74a7d2bc756dce38fd8dfb321bd670a6715be1 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 26 Jan 2022 10:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BC=80=E5=8F=91=E5=BA=93?= =?UTF-8?q?=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/loading.vue | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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"})