ElemeFE / ElemeFE/element

[Bug Report] The upload component uploads files using the manual submit method, which will also upload files that do not meet the restriction specifications to the server

Open
#21,695 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.7

### OS/Browsers version
chrome@98.0.4758.80

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/mixiuu/pen/XWzaYzo?editors=1111

### Steps to reproduce
First upload pictures that do not conform to the format requirements. When uploading pictures that conform to the picture format, the file list is empty after calling submit.

### What is Expected?
upload only pictures in the correct format

### What is actually happening?
upload empty filelists

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.