Commit 90b75f3c authored by 田翔's avatar 田翔

fix: 删除文件提示逻逻辑修改

parent c5beccc0
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "6.0.29", "version": "6.0.30",
"description": "6.0.29 高德三方地图更换为天地图", "description": "6.0.30 删除文件提示逻逻辑修改",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -134,7 +134,7 @@ const FileUpload = (props) => { ...@@ -134,7 +134,7 @@ const FileUpload = (props) => {
return _continueUpload; return _continueUpload;
}, },
onChange: ({ file, fileList, event }) => { onChange: ({ file, fileList, event }) => {
if (!file.size) { if (!file.size && file.status !== 'removed') {
return message.error('上传文件为空,禁止上传!') return message.error('上传文件为空,禁止上传!')
} }
// 检验名字,名字不通过不允许显示 // 检验名字,名字不通过不允许显示
...@@ -183,7 +183,7 @@ const FileUpload = (props) => { ...@@ -183,7 +183,7 @@ const FileUpload = (props) => {
}) })
} }
// if (fileType === 'ofd') { // if (fileType === 'ofd') {
// } // }
setVisible(true) setVisible(true)
} }
......
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