diff --git a/pages/subPack/human/human.vue b/pages/subPack/human/human.vue index a9825ba..2ec9f5d 100644 --- a/pages/subPack/human/human.vue +++ b/pages/subPack/human/human.vue @@ -189,11 +189,12 @@ }) }, async submit(){ + this.form.pic = '' if (this.$utils.verificationAll(this.form, { lat : '经纬度缺失,请打开GPS', lon : '经纬度缺失,请打开GPS', address : '获取地址失败', - pic : '请拍照', + // pic : '请拍照', })) { return } @@ -372,16 +373,16 @@ // icon: 'icon' // }) this.isVerifyFace = true - this.$refs.successPopup.open() + // this.$refs.successPopup.open() - // if(self.form.lat){ - // self.submit() - // }else{ - // uni.showLoading({ - // title: '定位中...' - // }) - // self.isLocationSubmit = true - // } + if(self.form.lat){ + self.submit() + }else{ + uni.showLoading({ + title: '定位中...' + }) + self.isLocationSubmit = true + } }else{ this.tempImg = '' this.form.pic = '' diff --git a/pages/subPack/record/record.vue b/pages/subPack/record/record.vue index b9be2b1..deab939 100644 --- a/pages/subPack/record/record.vue +++ b/pages/subPack/record/record.vue @@ -53,14 +53,17 @@ :key="item.id">