diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue index b211ab5..fd4ef59 100644 --- a/src/views/xgf/flow/components/sendUtil.vue +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -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 }) } })