bug修复
This commit is contained in:
@@ -335,8 +335,6 @@
|
|||||||
success: res => {
|
success: res => {
|
||||||
var lat = res.latitude
|
var lat = res.latitude
|
||||||
var lng = res.longitude
|
var lng = res.longitude
|
||||||
console.log(res)
|
|
||||||
alert(JSON.stringify(res))
|
|
||||||
this.$http.post('/api/appdvcpconfig/apiForward', `https://apis.map.qq.com/ws/geocoder/v1/?location=${lat},${lng}&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=${lat},${lng}&key=3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY&get_poi=1`).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
const data = res.data.result
|
const data = res.data.result
|
||||||
|
|||||||
@@ -76,7 +76,6 @@
|
|||||||
|
|
||||||
address: {
|
address: {
|
||||||
handler: function (v) {
|
handler: function (v) {
|
||||||
alert(JSON.stringify(v))
|
|
||||||
if (v.address) {
|
if (v.address) {
|
||||||
this.address = uni.getStorageSync('address').address || ''
|
this.address = uni.getStorageSync('address').address || ''
|
||||||
this.weather = uni.getStorageSync('address').weather || ''
|
this.weather = uni.getStorageSync('address').weather || ''
|
||||||
|
|||||||
Reference in New Issue
Block a user