fix: sFileList will be 'undefined' when run `form.resetFields()` (#929)
parent
2043203a11
commit
ea744664a7
|
@ -40,7 +40,7 @@ export default {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
fileList(val) {
|
fileList(val) {
|
||||||
this.sFileList = val;
|
this.sFileList = val || [];
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
|
|
Loading…
Reference in New Issue