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", + }); + } }, /** * 判断业务逻辑,并跳转界面