fix: table cell refresh

This commit is contained in:
jialin
2024-09-14 16:53:23 +08:00
parent 05390743e0
commit c1c24b9e5b
5 changed files with 50 additions and 22 deletions
@@ -38,8 +38,8 @@ const SealColumn: React.FC<SealColumnProps> = (props) => {
useEffect(() => {
if (editable) {
cachedValue.current = row[dataIndex];
setCurrent(row[dataIndex]);
}
setCurrent(row[dataIndex]);
}, [row[dataIndex], editable]);
const renderContent = () => {