zhangjie hai 1 ano
pai
achega
3b702187a7
Modificáronse 2 ficheiros con 2 adicións e 4 borrados
  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]);
 }