element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] before-upload添加文件类型校验后,校验失败的文件也出现在文件列表中

Open cmlily8294 opened this issue 9 years ago • 2 comments

Element UI version

1.2.5

OS/Browsers version

macOS/chrome57

Vue version

2.2.5

Reproduction Link

http://jsfiddle.net/mjLpg1bx/

Steps to reproduce

上传非图片

What is Expected?

校验失败后上传列表没有上传失败的文件

What is actually happening?

校验失败的文件出现在了上传列表中

cmlily8294 avatar Mar 24 '17 10:03 cmlily8294

我也是遇到这个问题,我是在加accept参数来避免这种情况

waynehong avatar Mar 25 '17 13:03 waynehong

It has been fixed, please checkout the lastest relase. If not, you can reopen this issue

baiyaaaaa avatar May 04 '17 03:05 baiyaaaaa