test
This commit is contained in:
@@ -69,7 +69,7 @@ export default {
|
|||||||
this.getLocation()
|
this.getLocation()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['injectJWeixin']),
|
...mapActions(['injectJWeixin', 'agentSign']),
|
||||||
|
|
||||||
submit() {
|
submit() {
|
||||||
if (this.flag) return
|
if (this.flag) return
|
||||||
@@ -106,7 +106,7 @@ export default {
|
|||||||
alert(res2)
|
alert(res2)
|
||||||
this.forms.lng = res2.longitude
|
this.forms.lng = res2.longitude
|
||||||
this.forms.lat = res2.latitude
|
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) {
|
if (res.code == 0) {
|
||||||
alert(res)
|
alert(res)
|
||||||
this.forms.address = res.data.result.address
|
this.forms.address = res.data.result.address
|
||||||
|
|||||||
Reference in New Issue
Block a user