|
@@ -284,7 +284,7 @@
|
|
|
close() {
|
|
close() {
|
|
|
this.dialogVisible = false;
|
|
this.dialogVisible = false;
|
|
|
// this.$refs.form.resetFields()
|
|
// this.$refs.form.resetFields()
|
|
|
- this.form = { defaultForm };
|
|
|
|
|
|
|
+ this.form = { ...defaultForm };
|
|
|
this.$refs.productTableRef.initData();
|
|
this.$refs.productTableRef.initData();
|
|
|
},
|
|
},
|
|
|
|
|
|