LANIF-UI / dva-boot-admin

:cake: react admin dashboard ui LANIF-ADMIN --- react 16 + react-router 4 + dva 2 + antd 4 后台管理 脚手架
https://lanif-ui.github.io/dva-boot-admin
MIT License
1.67k stars 460 forks source link

column里面配了upload类型的表单项,如果不选择一个文件就不能提交表单了(upload表单项是非必填字段) #96

Closed liangxm closed 4 years ago

liangxm commented 4 years ago

formItem: { type: "upload", preview: false, fileTypes: ['jpg','png'], maxFileSize: 1024, action: "/upload" },