Upload: fix default status of fileList (#6571)

pull/9831/head
相学长 2018-02-16 05:47:41 -06:00 committed by baiyaaaaa
parent f677292d86
commit fa00fcfbf9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
});
}