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]);
 }