Commit fa00fcfb authored by 相学长's avatar 相学长 Committed by baiyaaaaa

Upload: fix default status of fileList (#6571)

parent f677292d
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
handler(fileList) { handler(fileList) {
this.uploadFiles = fileList.map(item => { this.uploadFiles = fileList.map(item => {
item.uid = item.uid || (Date.now() + this.tempIndex++); item.uid = item.uid || (Date.now() + this.tempIndex++);
item.status = 'success'; item.status = item.status || 'success';
return item; return item;
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment