Commit b0822b3e authored by 田翔's avatar 田翔

fix: 附件上传支持多选

parent c16ca9bc
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "5.2.5", "version": "5.2.6",
"description": "5.2.5 未知原因出现antd上传组件图片显示异常", "description": "5.2.6 附件上传支持多选",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -278,6 +278,7 @@ const FileUpload = (props) => { ...@@ -278,6 +278,7 @@ const FileUpload = (props) => {
return ( return (
<div className={styles.uploadBox}> <div className={styles.uploadBox}>
<Upload <Upload
multiple
accept={accepts[fileType]} accept={accepts[fileType]}
fileList={showList} fileList={showList}
className="upload-list-inline" className="upload-list-inline"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment