Skip to content

Commit

Permalink
fix: sFileList will be 'undefined' when run form.resetFields() (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
luichooy authored and tangjinzhou committed Jul 7, 2019
1 parent 2043203 commit ea74466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/upload/Upload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
},
watch: {
fileList(val) {
this.sFileList = val;
this.sFileList = val || [];
},
},
beforeDestroy() {
Expand Down

0 comments on commit ea74466

Please sign in to comment.