|
@@ -394,24 +394,24 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (
|
|
|
|
- ["cugr.ecs.qmth.com.cn", "sdu.ecs.qmth.com.cn"].includes(
|
|
|
|
- this.$route.params.domain
|
|
|
|
- )
|
|
|
|
- ) {
|
|
|
|
- // console.log(UA.getBrowser(), chromeUA);
|
|
|
|
- if (
|
|
|
|
- UA.getBrowser().name !== "electron-exam-shell" ||
|
|
|
|
- UA.getBrowser().major !== "2" ||
|
|
|
|
- chromeUA.major < "76"
|
|
|
|
- ) {
|
|
|
|
- this.disableLoginBtnBecauseAppVersionChecker = true;
|
|
|
|
- this.$Message.error({
|
|
|
|
- content: "请与学校申请最新的客户端,进行考试!",
|
|
|
|
- duration: 2 * 24 * 60 * 60,
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ // if (
|
|
|
|
+ // ["cugr.ecs.qmth.com.cn", "sdu.ecs.qmth.com.cn"].includes(
|
|
|
|
+ // this.$route.params.domain
|
|
|
|
+ // )
|
|
|
|
+ // ) {
|
|
|
|
+ // // console.log(UA.getBrowser(), chromeUA);
|
|
|
|
+ // if (
|
|
|
|
+ // UA.getBrowser().name !== "electron-exam-shell" ||
|
|
|
|
+ // UA.getBrowser().major !== "2" ||
|
|
|
|
+ // chromeUA.major < "76"
|
|
|
|
+ // ) {
|
|
|
|
+ // this.disableLoginBtnBecauseAppVersionChecker = true;
|
|
|
|
+ // this.$Message.error({
|
|
|
|
+ // content: "请与学校申请最新的客户端,进行考试!",
|
|
|
|
+ // duration: 2 * 24 * 60 * 60,
|
|
|
|
+ // });
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
|
|
await this.checkElectronConfig();
|
|
await this.checkElectronConfig();
|
|
await this.checkVCam();
|
|
await this.checkVCam();
|