bug修复-连点bug修复

20240528Test
liujun 2024-04-17 17:58:27 +08:00
parent c6f5cdeb98
commit 6e69b96762
1 changed files with 3 additions and 0 deletions

View File

@ -217,6 +217,7 @@ export default {
if (!valid) {
this.$message.error('请填写完整信息')
} else {
this.loading = true
const formData = new FormData()
Object.keys(this.form).map(key => {
formData.append(key, this.form[key])
@ -232,9 +233,11 @@ export default {
this.visible = false
this.$emit('refresh', '')
this.handleClose()
this.loading = false
})
.catch((e) => {
console.log(e)
this.loading = false
})
}
})