fix: sFileList will be 'undefined' when run `form.resetFields()` (#929)

pull/953/head
luichooy 2019-07-07 20:57:39 +08:00 committed by tangjinzhou
parent 2043203a11
commit ea744664a7
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export default {
}, },
watch: { watch: {
fileList(val) { fileList(val) {
this.sFileList = val; this.sFileList = val || [];
}, },
}, },
beforeDestroy() { beforeDestroy() {