Commit 68cbd8d1 authored by 李俊赕's avatar 李俊赕

删除console.log

parent 8dffc547
......@@ -106,7 +106,6 @@
return ''
}
txt = waterSetting.lower_right && waterSetting.lower_right.title_text || ''
console.log(txt,'title_text','waterSetting',waterSetting)
return txt
},
settingTxtArr(){
......@@ -133,7 +132,6 @@
}
}
})
console.log(settingTxtArr,'settingTxtArr')
return settingTxtArr
}
......@@ -173,7 +171,6 @@
},
goPage(url) {
url = url || '/pages/photo/index';
console.log(url, 'url')
uni.navigateTo({
url: url
})
......@@ -200,7 +197,6 @@
break;
}
console.log(type, 'type', val, 'val')
this.cameraInfo[type] = val
},
initData() {
......@@ -224,7 +220,7 @@
waterInfo.address = i
},
fail: function(err) {
console.log(err, 'err')
// console.log(err, 'err')
}
};
if (waterInfo.latitude && waterInfo.longitude) {
......@@ -239,7 +235,7 @@
const {
errMsg
} = e.detail
console.log(e.detail, 'e.detail')
// console.log(e.detail, 'e.detail')
if (errMsg !== 'insertCamera:fail auth deny') {
return
}
......@@ -254,7 +250,7 @@
success: function(res) {
waterInfo.longitude = parseFloat(res.longitude).toFixed(4)
waterInfo.latitude = parseFloat(res.latitude).toFixed(3)
console.log(waterInfo.longitude, 'that.longitude', waterInfo.latitude, 'that.latitude')
// console.log(waterInfo.longitude, 'that.longitude', waterInfo.latitude, 'that.latitude')
that.baiduLocation()
},
fail(err) {
......@@ -264,7 +260,7 @@
});
},
showSettingModal(type) {
console.log(type, 'showModal-type')
// console.log(type, 'showModal-type')
type = type || 'camera'
const self = this
let authSetting = {
......@@ -300,7 +296,6 @@
this.cameraChange = false
wx.openSetting({
success(res) {
console.log(res, 'res-setting')
const authSetting = res.authSetting
self.cameraChange = true
if (authSetting['scope.userLocation']) {
......@@ -308,7 +303,6 @@
self.authSetting.location = true
self.getLocation()
}
console.log(self.cameraChange, 'this.cameraChange')
if (res.authSetting['scope.camera']) {
self.authSetting.camera = true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment