diff --git a/packages/core/client/src/schema-component/antd/upload/Upload.tsx b/packages/core/client/src/schema-component/antd/upload/Upload.tsx index 8975c536b..4bfc3eb0c 100644 --- a/packages/core/client/src/schema-component/antd/upload/Upload.tsx +++ b/packages/core/client/src/schema-component/antd/upload/Upload.tsx @@ -124,6 +124,7 @@ Upload.Attachment = connect((props: UploadProps) => { setFileList((prevFileList) => { if (!multiple) { onChange?.(null as any); + setSync(true); return []; } const index = prevFileList.indexOf(file);