form表单重置bug修复

This commit is contained in:
pixel
2020-04-16 09:48:18 +08:00
parent 57167b6c38
commit 5698c207a1
3 changed files with 25 additions and 1 deletions

View File

@@ -181,6 +181,12 @@ export default {
},
initForm() {
this.$refs.apiForm.resetFields()
this.form= {
path: '',
apiGroup: '',
method: '',
description: ''
}
},
closeDialog() {
this.initForm()