From cab46361fe0975e6ce07760255db147f63750fbe Mon Sep 17 00:00:00 2001 From: ywyonui Date: Mon, 22 Sep 2025 19:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=80=80=E6=AC=BE=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E9=A1=B5=E9=9D=A2=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/pageUtil.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/utils/pageUtil.ts b/src/utils/pageUtil.ts index 0577532..f0be1cb 100644 --- a/src/utils/pageUtil.ts +++ b/src/utils/pageUtil.ts @@ -38,8 +38,15 @@ export const PageUtils = { return; } } - // 判断业务逻辑,并跳转界面 - await this.checkLogicPage(lxId, action); + try { + // 判断业务逻辑,并跳转界面 + await this.checkLogicPage(lxId, action); + } catch (error) { + console.error("逻辑校验失败:", error); + uni.reLaunch({ + url: "/pages/base/home/xsXz", + }); + } }, /** * 判断业务逻辑,并跳转界面