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