bug修复-连点bug修复
parent
c6f5cdeb98
commit
6e69b96762
|
@ -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
|
||||
})
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue