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