刘洋 9 kuukautta sitten
vanhempi
commit
baf05922dd
2 muutettua tiedostoa jossa 21 lisäystä ja 16 poistoa
  1. 6 1
      src/api/inspectPage.ts
  2. 15 15
      src/devLoginParams.ts

+ 6 - 1
src/api/inspectPage.ts

@@ -162,7 +162,12 @@ export async function rejectInspectedTask(
   // });
   questionList = JSON.parse(
     JSON.stringify(questionList, (key, value) => {
-      const keys: string[] = ["markerId", "color", "isByMultMark"];
+      const keys: string[] = [
+        "markerId",
+        "color",
+        "isByMultMark",
+        "hasSetUnselective",
+      ];
       // eslint-disable-next-line @typescript-eslint/no-unsafe-return
       return !key.startsWith("__") && !keys.includes(key) ? value : undefined;
     })

+ 15 - 15
src/devLoginParams.ts

@@ -97,26 +97,26 @@
 // };
 
 /** 255 评卷员 */
-export const LOGIN_CONFIG = {
-  isAdmin: false,
-  forceChange: true,
-  loginName: "pjy-3001-1-1",
-  password: "123456",
-  examId: "414",
-  markerId: "4274",
-};
-
-/** 225 管理员 */
-
 // export const LOGIN_CONFIG = {
-//   isAdmin: true,
+//   isAdmin: false,
 //   forceChange: true,
-//   loginName: "admin031",
+//   loginName: "pjy-3001-1-1",
 //   password: "123456",
-//   examId: "345",
-//   markerId: null,
+//   examId: "414",
+//   markerId: "4274",
 // };
 
+/** 225 管理员 */
+
+export const LOGIN_CONFIG = {
+  isAdmin: true,
+  forceChange: true,
+  loginName: "admin03",
+  password: "123456",
+  examId: "417",
+  markerId: null,
+};
+
 // export const LOGIN_CONFIG = {
 //   isAdmin: true,
 //   forceChange: true,