fix(web): 修复节点入参不更新

This commit is contained in:
2025-07-16 22:54:48 +08:00
parent a3c2250285
commit 72a9d58f4c
9 changed files with 18 additions and 20 deletions

View File

@@ -88,7 +88,7 @@ type AmisNodeProps = {
nodeProps: NodeProps
extraNodeDescription?: JSX.Element
handler: JSX.Element
columnSchema?: Schema[]
columnSchema?: () => Schema[]
resize?: { minWidth: number, minHeight: number }
}
@@ -183,7 +183,7 @@ const AmisNode: (props: AmisNodeProps) => JSX.Element = ({
{
type: 'divider',
},
...(columnSchema ?? []),
...(columnSchema?.() ?? []),
{
type: 'wrapper',
size: 'none',