From 281cdef9a31b489a8f5ca966c7b3fc55492f915c Mon Sep 17 00:00:00 2001 From: ywyonui Date: Fri, 19 Sep 2025 20:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=B6=E9=95=BF=E9=A1=B5?= =?UTF-8?q?=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/pages/system/launchPage/launchPage.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/system/launchPage/launchPage.vue b/src/pages/system/launchPage/launchPage.vue index 8c67d49..3ac2efc 100644 --- a/src/pages/system/launchPage/launchPage.vue +++ b/src/pages/system/launchPage/launchPage.vue @@ -18,7 +18,7 @@ import { useUserStore } from "@/store/modules/user"; import { checkOpenId, findJsByPhoneApi } from "@/api/system/login"; import { PermissionCacheManager } from "@/utils/permission"; -const { setGlobal } = useDataStore(); +const { setGlobal, getGlobal } = useDataStore(); const { afterLoginAction } = useUserStore(); const { setFile, getFile } = useDataStore(); const isShow = ref(true); @@ -55,6 +55,11 @@ async function forceRefreshPermission(changeTime?: string): Promise { } function goByJs(js: any) { + if (getGlobal && getGlobal.type === '1') { + uni.reLaunch({ + url: "/pages/view/routine/xk/qd?from=login" + }); + } if (js.confirmStatus == "A") { // 跳转到自助服务首页 uni.reLaunch({