去掉打印 和改接口地址
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
postMessagefn(e){
|
||||
uni.setStorageSync('location', e.detail.data);
|
||||
uni.navigateBack({})
|
||||
console.log(JSON.parse(e.detail.data))
|
||||
// console.log(JSON.parse(e.detail.data))
|
||||
},
|
||||
leftClick(){
|
||||
uni.navigateBack({})
|
||||
@@ -37,16 +37,16 @@ export default {
|
||||
obj.lat=res.latitude
|
||||
var arr=[]
|
||||
arr.push(obj)
|
||||
console.log(arr)
|
||||
// console.log(arr)
|
||||
|
||||
// that.src = 'http://dap?arr='+encodeURIComponent(JSON.stringify(arr))
|
||||
that.src = 'http://219.157.255.213:8082?arr='+encodeURIComponent(JSON.stringify(arr))
|
||||
},
|
||||
fail: function (err) {
|
||||
console.log('获取位置失败:', err);
|
||||
// console.log('获取位置失败:', err);
|
||||
},
|
||||
complete: function () {
|
||||
console.log('获取位置完成');
|
||||
// console.log('获取位置完成');
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user