Compare commits
No commits in common. "89495bcb3989aec8cf0cd219fd06d234f628411e" and "a05bb488cce6bbde6587dc91ca2688d399450fc2" have entirely different histories.
89495bcb39
...
a05bb488cc
|
|
@ -5,15 +5,7 @@ import { Select } from "antd";
|
||||||
* 可创建选项的选择器组件
|
* 可创建选项的选择器组件
|
||||||
*/
|
*/
|
||||||
function SelectCreate(props) {
|
function SelectCreate(props) {
|
||||||
const {
|
const { items, showDelete = true, label = "", maxCount = 1, onDelete, ...restProps } = props;
|
||||||
items,
|
|
||||||
showDelete = true,
|
|
||||||
label = "",
|
|
||||||
maxCount = 1,
|
|
||||||
onDelete,
|
|
||||||
formValues,
|
|
||||||
...restProps
|
|
||||||
} = props;
|
|
||||||
|
|
||||||
const handlerDelete = (option) => {
|
const handlerDelete = (option) => {
|
||||||
onDelete?.(option);
|
onDelete?.(option);
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@ const Upload = (props) => {
|
||||||
size = 0,
|
size = 0,
|
||||||
tipContent,
|
tipContent,
|
||||||
uploadButtonText = "点击选择文件上传",
|
uploadButtonText = "点击选择文件上传",
|
||||||
formValues,
|
|
||||||
...restProps
|
...restProps
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "zy-react-library",
|
"name": "zy-react-library",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "1.0.21",
|
"version": "1.0.19",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "LiuJiaNan",
|
"author": "LiuJiaNan",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue