From 5778eef8f5e9579fdb91570c568d0c8652403e14 Mon Sep 17 00:00:00 2001 From: linju Date: Wed, 4 Dec 2024 15:35:20 +0800 Subject: [PATCH] Update common.uts --- uni_modules/uni-id-pages-x/common/common.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uni-id-pages-x/common/common.uts b/uni_modules/uni-id-pages-x/common/common.uts index da61add..2e06117 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() } }; -- GitLab