This commit is contained in:
lys 2025-01-09 11:15:27 +08:00
parent 4ad2bc0eba
commit 2aeac6e713
2 changed files with 5 additions and 0 deletions

View File

@ -80,6 +80,10 @@
}
}
.feedbackBg {
background: #FF0;
}
.danger {
font-size: var(--data-size);
color: rgb(217, 0, 27)

View File

@ -130,6 +130,7 @@ const index: FunctionComponent<Props> = (props) => {
className: styles["td_odd"],
i18n: item.i18n,
onCell: (record: any) => ({
className: !_.isEmpty(record[`${item.dataIndex}_feedback`]) && styles["feedbackBg"],
onContextMenu: (e: any) => {
(!item.calcDetail || item.rightClickType) && e.preventDefault();
}