diff --git a/uni_modules/uni-id-pages/common/store.js b/uni_modules/uni-id-pages/common/store.js index d8f2108befbc97069809233cb10e63fbf6b5cfc6..793ff006dbf20e9db1c3932d92bd0bfb83bee994 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({