Browse Source

版本禁用提示的弹框,文案修改

刘洋 1 year ago
parent
commit
d181b19acb
1 changed files with 17 additions and 17 deletions
  1. 17 17
      src/features/UserLogin/UserLogin.vue

+ 17 - 17
src/features/UserLogin/UserLogin.vue

@@ -110,30 +110,30 @@ onMounted(async () => {
           h("div", [
             "当前版本已禁用,请根据学校通知下载新版考生端程序进行考试!",
           ]),
-          h(
-            "div",
-            {
-              style: {
-                "user-select": "text",
-              },
-            },
-            [
-              h("span", [
-                "下载地址: https://cdn.exam-cloud.cn/oe-student-client/setup/setup_ynou_V1.0.0.exe",
-              ]),
-            ]
-          ),
+          // h(
+          //   "div",
+          //   {
+          //     style: {
+          //       "user-select": "text",
+          //     },
+          //   },
+          //   [
+          //     h("span", [
+          //       "下载地址: https://cdn.exam-cloud.cn/oe-student-client/setup/setup_ynou_V1.0.0.exe",
+          //     ]),
+          //   ]
+          // ),
         ]);
       },
-      positiveText: "复制并退出",
+      positiveText: "退出",
       maskClosable: false,
       closeOnEsc: false,
       closable: false,
       onPositiveClick: () => {
         // eslint-disable-next-line @typescript-eslint/no-unsafe-call
-        copy(
-          "https://cdn.exam-cloud.cn/oe-student-client/setup/setup_ynou_V1.0.0.exe"
-        );
+        // copy(
+        //   "https://cdn.exam-cloud.cn/oe-student-client/setup/setup_ynou_V1.0.0.exe"
+        // );
         closeApp("notSupport");
       },
     });