bug处理

This commit is contained in:
lys 2024-10-22 15:32:26 +08:00
parent 0688be7bff
commit 632f42bf07
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ const index: FunctionComponent<Props> = (props) => {
<span title={text} className={styles.contentTitle} style={{ color: `${record?.[item.dataIndex + "_color"]}` }}>
{text}
</span>
{record.lockItems.includes(item.dataIndex) ? <LockOutlined title={item.i18n["锁定的项目值"]} /> : null}
{record.lockItems && record.lockItems.includes(item.dataIndex) ? <LockOutlined title={item.i18n["锁定的项目值"]} /> : null}
</span>
</Dropdown>
);