增加家长页面跳转

This commit is contained in:
ywyonui 2025-09-19 20:16:05 +08:00
parent 26b22af483
commit 281cdef9a3

View File

@ -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<void> {
}
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({