From 2573ffe457238015f83a34011139a1145e80acba Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Sun, 27 Oct 2024 17:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=B8=BF=E8=92=99=E4=B8=8Auni.reLaunch?= =?UTF-8?q?=E8=B7=B3=E5=88=B0tabBar=E7=99=BD=E5=B1=8F=E5=85=88=E6=94=B9?= =?UTF-8?q?=E6=88=90uni.switchTab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-id-pages/common/store.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uni_modules/uni-id-pages/common/store.js b/uni_modules/uni-id-pages/common/store.js index 83fdd1e..c91ad4b 100644 --- a/uni_modules/uni-id-pages/common/store.js +++ b/uni_modules/uni-id-pages/common/store.js @@ -118,9 +118,9 @@ export const mutations = { if (delta) { const page = pagesJson.pages[0] - return uni.reLaunch({ - url: `/${page.path}` - }) + return uni.switchTab({ + url: `/${page.path}` + }) } uni.navigateBack({ -- GitLab