Commit 4ee1f970 by zhaochengxiang

bug fix

parent 43e213af
...@@ -93,9 +93,9 @@ const FC = (props) => { ...@@ -93,9 +93,9 @@ const FC = (props) => {
const uploadProps = { const uploadProps = {
beforeUpload: file => { beforeUpload: file => {
const isLt5M = file.size / 1024 / 1024 < 5 const isLt20M = file.size / 1024 / 1024 < 20
if (!isLt5M) { if (!isLt20M) {
showMessage('error', '上传文件必须小于5M') showMessage('error', '上传文件必须小于20M')
return false return false
} }
......
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