在使用上传组件时发现拖曳上传无反应
经过排查发现
加上这句无法使用拖曳上传
accept=".csv,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
如果要限制上传文件格式需要在 :before-upload=“beforeUpload” 中校验
在使用上传组件时发现拖曳上传无反应
经过排查发现
加上这句无法使用拖曳上传
accept=".csv,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
如果要限制上传文件格式需要在 :before-upload=“beforeUpload” 中校验