|
@@ -222,9 +222,17 @@ export default {
|
|
}
|
|
}
|
|
if (snapRes.isCompleted) {
|
|
if (snapRes.isCompleted) {
|
|
if (snapRes.isStranger) {
|
|
if (snapRes.isStranger) {
|
|
- this.$Message.error("请独立考试");
|
|
|
|
|
|
+ this.$Message.error({
|
|
|
|
+ content: "请独立完成考试",
|
|
|
|
+ duration: 5,
|
|
|
|
+ closable: true
|
|
|
|
+ });
|
|
} else if (!snapRes.isPass) {
|
|
} else if (!snapRes.isPass) {
|
|
- this.$Message.error("请保持正确坐姿");
|
|
|
|
|
|
+ this.$Message.error({
|
|
|
|
+ content: "请调整坐姿,诚信考试",
|
|
|
|
+ duration: 5,
|
|
|
|
+ closable: true
|
|
|
|
+ });
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
setTimeout(
|
|
setTimeout(
|