mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:46:00 +00:00
fix(subTable): ensure real-time update of formula field values (#4930)
* fix(subTable): ensure real-time update of formula field values * chore: fix typo
This commit is contained in:
parent
747910f482
commit
c8a9d1dc94
@ -539,11 +539,12 @@ export const Table: any = withDynamicSchemaProps(
|
||||
|
||||
return (
|
||||
<td {...props} ref={ref} className={classNames(props.className, cellClass)}>
|
||||
{inView || isIndex ? props.children : <Skeleton.Button style={{ height: '100%' }} />}
|
||||
{/* 子表格中不能使用懒渲染。详见:https://nocobase.height.app/T-4889/description */}
|
||||
{others.isSubTable || inView || isIndex ? props.children : <Skeleton.Button style={{ height: '100%' }} />}
|
||||
</td>
|
||||
);
|
||||
},
|
||||
[dataSource.length],
|
||||
[dataSource.length, others.isSubTable],
|
||||
);
|
||||
|
||||
const components = useMemo(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user