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

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

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