bug修护

dev_1.0.1
huwei 2026-07-07 16:50:31 +08:00
parent 8d08ce35fc
commit 3d637b6592
1 changed files with 2 additions and 2 deletions

View File

@ -181,8 +181,8 @@ function PersonnelChangePage(props) {
width: 140,
render: (_, record) => {
const code = record.resignAuditStatus ?? record.auditStatus ?? record.auditStatusCode;
return RESIGN_AUDIT_STATUS_LABEL[code] ? <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag> : "-";
const label = RESIGN_AUDIT_STATUS_LABEL[code];
return label ? <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag> : "-";
},
},
{