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({