zhangjie 1 年之前
父节点
当前提交
3b702187a7
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. 2 2
      src/api/markPage.ts
  2. 0 2
      src/features/check/SubjectiveAnswer.vue

+ 2 - 2
src/api/markPage.ts

@@ -110,8 +110,8 @@ export async function changeUserInfo(name: string, password?: string) {
 
 /** 评卷用户退出 */
 export function doLogout() {
-  window.history.go(-1);
-  // window.close();
+  // window.history.go(-1);
+  window.close();
 }
 
 /** 评卷用户选择分组 */

+ 0 - 2
src/features/check/SubjectiveAnswer.vue

@@ -149,8 +149,6 @@ const logout = () => {
 };
 
 async function getNextStudent() {
-  console.log(currentIndex);
-
   if (isLast) return;
   await updateTask(studentIds[currentIndex + 1]);
 }