From b130afe33cdf22770fdee84a136f3f6610b91a2b Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Wed, 29 Oct 2025 16:26:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=8E=89=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=BB=84=E4=BB=B6=E4=B8=AD=E6=8E=A5=E6=94=B6formValue?= =?UTF-8?q?s=EF=BC=8C=E9=81=BF=E5=85=8D=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/SelectCreate/index.js | 10 +++++++++- components/Upload/index.js | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) 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;