bug修复-连点bug修复
parent
c6f5cdeb98
commit
6e69b96762
|
@ -217,6 +217,7 @@ export default {
|
||||||
if (!valid) {
|
if (!valid) {
|
||||||
this.$message.error('请填写完整信息')
|
this.$message.error('请填写完整信息')
|
||||||
} else {
|
} else {
|
||||||
|
this.loading = true
|
||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
Object.keys(this.form).map(key => {
|
Object.keys(this.form).map(key => {
|
||||||
formData.append(key, this.form[key])
|
formData.append(key, this.form[key])
|
||||||
|
@ -232,9 +233,11 @@ export default {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.$emit('refresh', '')
|
this.$emit('refresh', '')
|
||||||
this.handleClose()
|
this.handleClose()
|
||||||
|
this.loading = false
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
this.loading = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue