diff --git a/src/pages/Container/EnterpriseInfo/PersonnelChange/index.js b/src/pages/Container/EnterpriseInfo/PersonnelChange/index.js index 72376ec..9e51dc2 100644 --- a/src/pages/Container/EnterpriseInfo/PersonnelChange/index.js +++ b/src/pages/Container/EnterpriseInfo/PersonnelChange/index.js @@ -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] ? {label} : "-"; - + const label = RESIGN_AUDIT_STATUS_LABEL[code]; + return label ? {label} : "-"; }, }, {