修改添加报修定位获取信息

master
chen 2022-05-16 19:01:24 +08:00
parent 92d74dbe81
commit 44b021d84a
2 changed files with 47 additions and 36 deletions

View File

@ -17,7 +17,9 @@
"delay" : 0
},
/* */
"modules" : {},
"modules" : {
"Maps" : {}
},
/* */
"distribute" : {
/* android */
@ -43,7 +45,15 @@
/* ios */
"ios" : {},
/* SDK */
"sdkConfigs" : {}
"sdkConfigs" : {
"ad" : {},
"maps" : {
"amap" : {
"appkey_ios" : "",
"appkey_android" : ""
}
}
}
}
},
/* */

View File

@ -271,22 +271,23 @@
mapFun() {
let that = this
uni.chooseLocation({
success: (res) => {
success:(result)=> {
that.data.service_address = result.address
}
})
// uni.chooseLocation({
// success:(res)=> {
// console.log(res,275);
// that.data.service_address = res.address
// }
// });
});
// uni.getLocation({
// type: 'wgs84', //uni.openLocationgcj02
// success: function(res) {
// console.log(res);
// let latitude = res.latitude;
// let longitude = res.longitude;
// uni.chooseLocation({
// latitude:res.latitude,
// longitude:res.longitude,
// success:(result)=> {
// that.data.service_address = result.address
// }
// });
// }
// });
},