mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
feat: 🎸 update upload component
This commit is contained in:
parent
bcedec6f21
commit
10abef5e27
@ -12394,11 +12394,7 @@
|
||||
"propType": "bool",
|
||||
"description": "可选参数,是否支持拖拽上传,`ie10+` 支持。"
|
||||
},
|
||||
{
|
||||
"name": "closable",
|
||||
"propType": "bool",
|
||||
"defaultValue": true
|
||||
},
|
||||
|
||||
{
|
||||
"name": "useDataURL",
|
||||
"propType": "bool",
|
||||
@ -12447,7 +12443,10 @@
|
||||
{
|
||||
"name": "beforeUpload",
|
||||
"propType": "func",
|
||||
"description": "可选参数, 详见 [beforeUpload](#beforeUpload)\n@param {Object} file 所有文件\n@param {Object} options 参数\n@returns {Boolean|Object|Promise} 返回值作用见demo"
|
||||
"title": {
|
||||
"label": "开始上传时回调",
|
||||
"tip": "可选参数, 详见 [beforeUpload](#beforeUpload)\n@param {Object} file 所有文件\n@param {Object} options 参数\n@returns {Boolean|Object|Promise} 返回值作用见demo"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "onDrop",
|
||||
@ -12464,14 +12463,6 @@
|
||||
"propType": "object",
|
||||
"description": "自定义内联样式"
|
||||
},
|
||||
{
|
||||
"name": "children",
|
||||
"propType": {
|
||||
"type": "instanceOf",
|
||||
"value": "node"
|
||||
},
|
||||
"description": "子元素"
|
||||
},
|
||||
{
|
||||
"name": "autoUpload",
|
||||
"propType": "bool",
|
||||
@ -12485,13 +12476,9 @@
|
||||
},
|
||||
{
|
||||
"name": "progressProps",
|
||||
"propType": "object",
|
||||
"propType": "Json",
|
||||
"description": "透传给Progress props"
|
||||
},
|
||||
{
|
||||
"name": "rtl",
|
||||
"propType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "isPreview",
|
||||
"propType": "bool",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user