fix(client): fix diabled in filter dynamic component (#3874)

This commit is contained in:
Junyi 2024-03-30 12:49:13 +08:00 committed by GitHub
parent 5645ed4d6c
commit 7a3a2c4845
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,11 +56,12 @@ export const DynamicComponent = (props: Props) => {
'x-read-pretty': false,
'x-validator': undefined,
'x-decorator': undefined,
'x-disabled': disabled,
}}
/>
</FieldContext.Provider>
);
}, [props.schema]);
}, [props.schema, disabled]);
return (
<FormContext.Provider value={form}>
{component