mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:06:25 +00:00
fix(subTable): ensure real-time update of formula field values
This commit is contained in:
parent
0a9f5c7d94
commit
9c9177f848
@ -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