diff --git a/src/project/wuxi/AppPhotoReport/PhotoForm.vue b/src/project/wuxi/AppPhotoReport/PhotoForm.vue index 535d65a..44c120b 100644 --- a/src/project/wuxi/AppPhotoReport/PhotoForm.vue +++ b/src/project/wuxi/AppPhotoReport/PhotoForm.vue @@ -198,8 +198,7 @@ export default { return this.$toast('请选择所属网格') } if (this.flag) return - this.flag = true - + this.$loading() this.$instance.post(`/app/appresidentreportinfo/addByApplet`, { ...this.form, @@ -208,6 +207,7 @@ export default { files: this.form.files, groupName: this.dictList.filter(v => v.value === this.form.groupId)[0].label }).then(res => { + this.flag = true this.$hideLoading() if (res.code == 0) { uni.$emit('update')