ElemeFE / element

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

[Bug Report] el-upload :file-list 功能不正确 #18783

Open dtbdtb opened 4 years ago

dtbdtb commented 4 years ago

Element UI version

2.13.0

OS/Browsers version

chrome 79.0.3945.130

Vue version

3.0.0-alpha.4

Reproduction Link

https://codepen.io/wj_0119/pen/rNVNzXM

Steps to reproduce

:file-list="okList" return { okList: [{"name":"1.jpg"},{"name":"11.jpg"}] } when open upload component,

What is Expected?

VUE CODE :file-list="okList"

return { okList: [{"name":"1.jpg"},{"name":"11.jpg"}] }

When open upload component

Now is right

When we upload a file

Now is 3 files Why ? It should be 2 files 1.jpg and 11.jpg Why ?

What is actually happening?

should be 1.jpg and 11.jpg

zhangzheng7856 commented 4 years ago

我也遇到了同样的问题,

dtbdtb commented 4 years ago

我已经解决了

13301371015@163.com

发件人: zhangzheng7856 发送时间: 2020-02-22 12:18 收件人: ElemeFE/element 抄送: dtbdtb; Author 主题: Re: [ElemeFE/element] [Bug Report] el-upload :file-list 功能不正确 (#18783) 我也遇到了同样的问题, ― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lvvlan commented 4 years ago

@dtbdtb 什么时候发版呀?

leoshuaige commented 4 years ago

我想问一下,这个是怎么解决的???自定义的 file-list ,数据不能动态同步

angelapper commented 4 years ago

自定义的 file-list ,数据不能动态同步, 目前我手动自己维护。。。我也因为这个bug卡了2小时。。

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.