From 11fe31c3e3a9eb05e45e2c2b75d3399284544213 Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Fri, 11 Feb 2022 16:10:53 +0800 Subject: [PATCH] 27333 --- src/saas/AppConflictMediation/add.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/saas/AppConflictMediation/add.vue b/src/saas/AppConflictMediation/add.vue index b78627ed..e1e113cc 100644 --- a/src/saas/AppConflictMediation/add.vue +++ b/src/saas/AppConflictMediation/add.vue @@ -137,7 +137,9 @@ result: '', resultFiles: [], opts: 1, - name: '' + name: '', + lat: '', + lng: '' }, dictList: [], arr: [], @@ -162,6 +164,8 @@ uni.chooseLocation({ success: (res) => { this.form.address = res.address + this.form.lat = res.latitude + this.form.lng = res.longitude } }); }, @@ -244,13 +248,11 @@ if(this.flag) return this.flag = true - this.$loading() this.$http.post(`/app/appclapeventinfo/addOrUpdate?`, { ...this.form, files: this.form.files, groupName: this.dictList.filter(v => v.value === this.form.groupId)[0].label }).then(res => { - this.$hideLoading() this.$u.toast('上ζŠ₯成功') this.flag = false if (res.code == 0) { @@ -259,7 +261,6 @@ uni.navigateBack() }, 600) } - this.$hideLoading() }) } }