bug: Fix bug in form reset

This commit is contained in:
QM303176530
2020-04-05 20:57:11 +08:00
parent 81a54b5a44
commit 63fe673169
4 changed files with 4 additions and 27 deletions

View File

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