Compare commits
3 Commits
a05bb488cc
...
89495bcb39
| Author | SHA1 | Date |
|---|---|---|
|
|
89495bcb39 | |
|
|
b130afe33c | |
|
|
75cbecd936 |
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ const Upload = (props) => {
|
|||
size = 0,
|
||||
tipContent,
|
||||
uploadButtonText = "点击选择文件上传",
|
||||
formValues,
|
||||
...restProps
|
||||
} = props;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "zy-react-library",
|
||||
"private": false,
|
||||
"version": "1.0.19",
|
||||
"version": "1.0.21",
|
||||
"type": "module",
|
||||
"description": "",
|
||||
"author": "LiuJiaNan",
|
||||
|
|
|
|||
Loading…
Reference in New Issue