@@ -146,7 +146,7 @@ export default {
this.getList()
}
}).catch(() => {
- this.$refs.dialogForm.resetFields()
+ this.dialogForm.id ? this.dialogVisible = false : this.$refs.dialogForm.resetFields()
})
} else {
return false