|
@@ -18,7 +18,7 @@ import ua from "@/utils/ua";
|
|
|
import { decryptLogin, preloadResource } from "@/utils/utils";
|
|
|
import { CloseCircleOutline, LockClosed, Person } from "@vicons/ionicons5";
|
|
|
import { FormItemInst, FormRules, useDialog } from "naive-ui";
|
|
|
-import { onMounted, onUnmounted, watch } from "vue";
|
|
|
+import { onMounted, onUnmounted, watch, h } from "vue";
|
|
|
import { useRouter } from "vue-router";
|
|
|
import GeeTest from "./GeeTest.vue";
|
|
|
import GlobalNotice from "./GlobalNotice.vue";
|
|
@@ -104,7 +104,35 @@ onMounted(async () => {
|
|
|
if (store.QECSConfig && !store.QECSConfig.LOGIN_SUPPORT.includes("NATIVE")) {
|
|
|
dialog.warning({
|
|
|
title: "提醒",
|
|
|
- content: "当前版本已禁用,请根据学校通知下载新版考生端程序进行考试!",
|
|
|
+ content: () => {
|
|
|
+ return h("div", [
|
|
|
+ h("div", [
|
|
|
+ "当前版本已禁用,请根据学校通知下载新版考生端程序进行考试!",
|
|
|
+ ]),
|
|
|
+ h(
|
|
|
+ "div",
|
|
|
+ {
|
|
|
+ style: {
|
|
|
+ "user-select": "text",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ [
|
|
|
+ h("span", [
|
|
|
+ "下载地址: ",
|
|
|
+ h(
|
|
|
+ "a",
|
|
|
+ {
|
|
|
+ href: "https://cdn.exam-cloud.cn/oe-student-client/setup/setup_ynou_V1.0.0.exe",
|
|
|
+ },
|
|
|
+ [
|
|
|
+ "https://cdn.exam-cloud.cn/oe-student-client/setup/setup_ynou_V1.0.0.exe",
|
|
|
+ ]
|
|
|
+ ),
|
|
|
+ ]),
|
|
|
+ ]
|
|
|
+ ),
|
|
|
+ ]);
|
|
|
+ },
|
|
|
positiveText: "确定",
|
|
|
maskClosable: false,
|
|
|
closeOnEsc: false,
|