bug修复

This commit is contained in:
yanran200730
2022-07-28 16:41:47 +08:00
parent 4d12c27ff7
commit 981097a89b
2 changed files with 0 additions and 3 deletions

View File

@@ -335,8 +335,6 @@
success: res => {
var lat = res.latitude
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 => {
if (res.code === 0) {
const data = res.data.result

View File

@@ -76,7 +76,6 @@
address: {
handler: function (v) {
alert(JSON.stringify(v))
if (v.address) {
this.address = uni.getStorageSync('address').address || ''
this.weather = uni.getStorageSync('address').weather || ''