瀏覽代碼

fix LogoutReason text

Michael Wang 6 年之前
父節點
當前提交
aa3f54bc4e
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/features/OnlineExam/Examing/FaceId.vue

+ 4 - 3
src/features/OnlineExam/Examing/FaceId.vue

@@ -164,9 +164,10 @@ export default {
               });
             }
             this.logout(
-              "?LogoutReason=" + this.faceTestEndCalled
-                ? "人脸检测超时"
-                : "人脸检测超时-可续考"
+              "?LogoutReason=" +
+                (!this.faceTestEndCalled
+                  ? "人脸检测超时-可续考"
+                  : "人脸检测超时")
             );
           });
       }, 60000); //60000