mirror of https://github.com/ElemeFE/element
Upload: fix default status of fileList (#6571)
parent
f677292d86
commit
fa00fcfbf9
|
@ -127,7 +127,7 @@ export default {
|
|||
handler(fileList) {
|
||||
this.uploadFiles = fileList.map(item => {
|
||||
item.uid = item.uid || (Date.now() + this.tempIndex++);
|
||||
item.status = 'success';
|
||||
item.status = item.status || 'success';
|
||||
return item;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue