|
@@ -228,6 +228,18 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.disableLoginBtn = false;
|
|
this.disableLoginBtn = false;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if (this.$route.path.includes("xjtu.ecs.qmth.com.cn")) {
|
|
|
|
+ this.disableLoginBtn = true;
|
|
|
|
+ var fs = window.nodeRequire("fs");
|
|
|
|
+ if (!fs.existsSync("multiCamera.exe")) {
|
|
|
|
+ this.disableLoginBtn = false;
|
|
|
|
+ this.$Message.error({
|
|
|
|
+ content: "请使用最新版本的客户端进行考试!",
|
|
|
|
+ duration: 2 * 24 * 60 * 60
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...mapMutations(["updateUser"]),
|
|
...mapMutations(["updateUser"]),
|