diff --git a/uni_modules/uni-id-pages-x/common/common.uts b/uni_modules/uni-id-pages-x/common/common.uts index da61add5131a0e5436910faa06b9452d9607676c..2e061174fc6ec92ad3674b79a5b4a6fd936558d5 100644 --- a/uni_modules/uni-id-pages-x/common/common.uts +++ b/uni_modules/uni-id-pages-x/common/common.uts @@ -31,7 +31,7 @@ export const loginSuccess = (_ : UTSJSONObject) => { // console.log('uniIdRouter redirectTo success'); } }) - } else if (currentPage.route == "uni_modules/uni-id-pages-x/pages/login/login") { + } else if (currentPage.route.includes("uni_modules/uni-id-pages-x/pages/login/login") ){ uni.navigateBack() } };