作者 xudada

编辑提交之后重置表单

@@ -548,7 +548,8 @@ @@ -548,7 +548,8 @@
548 } 548 }
549 this.$message.success(res.msg) 549 this.$message.success(res.msg)
550 // 隐藏对话框 550 // 隐藏对话框
551 - this.configure_dialog.addDialog = false 551 + this.configure_dialog.addDialog = false;
  552 + this.$refs.configure_editForm.resetFields();
552 // 刷新列表 553 // 刷新列表
553 this.submitForm() 554 this.submitForm()
554 }).catch(error => { 555 }).catch(error => {
@@ -553,6 +553,7 @@ @@ -553,6 +553,7 @@
553 // 隐藏对话框 553 // 隐藏对话框
554 this.configure_dialog.addDialog = false 554 this.configure_dialog.addDialog = false
555 // 刷新列表 555 // 刷新列表
  556 + this.$refs.configure_addForm.resetFields();
556 this.submitForm() 557 this.submitForm()
557 }).catch(error => { 558 }).catch(error => {
558 this.$message.error(error.toString()) 559 this.$message.error(error.toString())