diff --git a/src/project/biaopin/AppGridReview/Add.vue b/src/project/biaopin/AppGridReview/Add.vue index e8e90ad8..dabbfda4 100644 --- a/src/project/biaopin/AppGridReview/Add.vue +++ b/src/project/biaopin/AppGridReview/Add.vue @@ -69,7 +69,7 @@ export default { this.getLocation() }, methods: { - ...mapActions(['injectJWeixin']), + ...mapActions(['injectJWeixin', 'agentSign']), submit() { if (this.flag) return @@ -106,7 +106,7 @@ export default { alert(res2) this.forms.lng = res2.longitude this.forms.lat = res2.latitude - this.$http.post('/api/appdvcpconfig/apiForward', `https://apis.map.qq.com/ws/geocoder/v1/?location=${res2.latitude},${res2.longitude}&key=3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY&get_poi=1`).then(res => { + this.$http.post('/api/appdvcpconfig/apiForward', `https://apis.map.qq.com/ws/geocoder/v1/?location=${this.forms.lat},${this.forms.lng}&key=3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY&get_poi=1`).then(res => { if (res.code == 0) { alert(res) this.forms.address = res.data.result.address