Эх сурвалжийг харах

feat: 复核员名称调整

zhangjie 1 сар өмнө
parent
commit
d6eb41ab03

+ 1 - 1
src/lib/watermark.ts

@@ -197,7 +197,7 @@ export async function addWatermark(
     // }
     // }
     if (student.inspector && student.inspector.length) {
     if (student.inspector && student.inspector.length) {
       const allNameStr = student.inspector
       const allNameStr = student.inspector
-        .map((item: any) => item.loginName)
+        .map((item: any) => item.name)
         .join("、");
         .join("、");
       drawText(x, (y += height), "复核人: " + allNameStr);
       drawText(x, (y += height), "复核人: " + allNameStr);
     }
     }