diff --git a/components/SelectCreate/index.js b/components/SelectCreate/index.js index b718832..018990b 100644 --- a/components/SelectCreate/index.js +++ b/components/SelectCreate/index.js @@ -5,7 +5,15 @@ import { Select } from "antd"; * 可创建选项的选择器组件 */ function SelectCreate(props) { - const { items, showDelete = true, label = "", maxCount = 1, onDelete, ...restProps } = props; + const { + items, + showDelete = true, + label = "", + maxCount = 1, + onDelete, + formValues, + ...restProps + } = props; const handlerDelete = (option) => { onDelete?.(option); diff --git a/components/Upload/index.js b/components/Upload/index.js index dd9f59a..cd50fba 100644 --- a/components/Upload/index.js +++ b/components/Upload/index.js @@ -19,6 +19,7 @@ const Upload = (props) => { size = 0, tipContent, uploadButtonText = "点击选择文件上传", + formValues, ...restProps } = props;