去掉打印 和改接口地址

This commit is contained in:
浅念
2025-06-09 17:58:22 +08:00
parent ce95205a7b
commit 7e7858cc8c
30 changed files with 156 additions and 164 deletions
+4 -4
View File
@@ -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('获取位置完成');
}
})
},