ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

Submit cannot be triggered twice after upload manually #18720

Open pasBone opened 4 years ago

pasBone commented 4 years ago

Element UI version

2.10.0

OS/Browsers version

chrome 79.0.3945.117

Vue version

2.5.17

Reproduction Link

https://jsfiddle.net/mmx38qxw/

Steps to reproduce

upload 手动上传之后无法二次触发submit

What is Expected?

希望可以直接再次提交

What is actually happening?

upload 手动上传之后, 接口返回失败,此时再次点击上传无法二次触发submit。除非手动移除文件再上传

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.10.0

OS/Browsers version

chrome 79.0.3945.117

Vue version

2.5.17

Reproduction Link

https://jsfiddle.net/mmx38qxw/

Steps to reproduce

Submit cannot be triggered twice after upload manually

What is Expected?

Hope to submit again directly

What is actually happening?

After uploading manually, the interface fails to return. At this time, clicking upload again cannot trigger submit twice. Unless the file is manually removed and then uploaded

xywc-s commented 4 years ago

同样的问题

baixiaoyu2997 commented 4 years ago

同样的问题

byk04712 commented 3 years ago

同样的问题

tyrantkhan commented 2 years ago

still seeing this.

tyrantkhan commented 2 years ago

for those who run into this, this can be hacked by setting the following properties on the file:

  file.status = "ready"
  file.percentage = 0