zhangjie 1 vuosi sitten
vanhempi
commit
3b702187a7
2 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  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]);
 }