@@ -507,7 +507,8 @@
saveOrUpdate(this.dataForm)
.then((msg) => {
this.loading = false;
- this.dataForm = {};
+ this.$refs['dataForm'].resetFields();
+ // this.dataForm = {};
const info = this.dataForm.id ? '修改成功' : '新增成功';
this.$message.success(info);
this.visible = false;