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

删除console.log

parent 8dffc547
...@@ -106,7 +106,6 @@ ...@@ -106,7 +106,6 @@
return '' return ''
} }
txt = waterSetting.lower_right && waterSetting.lower_right.title_text || '' txt = waterSetting.lower_right && waterSetting.lower_right.title_text || ''
console.log(txt,'title_text','waterSetting',waterSetting)
return txt return txt
}, },
settingTxtArr(){ settingTxtArr(){
...@@ -133,7 +132,6 @@ ...@@ -133,7 +132,6 @@
} }
} }
}) })
console.log(settingTxtArr,'settingTxtArr')
return settingTxtArr return settingTxtArr
} }
...@@ -173,7 +171,6 @@ ...@@ -173,7 +171,6 @@
}, },
goPage(url) { goPage(url) {
url = url || '/pages/photo/index'; url = url || '/pages/photo/index';
console.log(url, 'url')
uni.navigateTo({ uni.navigateTo({
url: url url: url
}) })
...@@ -200,7 +197,6 @@ ...@@ -200,7 +197,6 @@
break; break;
} }
console.log(type, 'type', val, 'val')
this.cameraInfo[type] = val this.cameraInfo[type] = val
}, },
initData() { initData() {
...@@ -224,7 +220,7 @@ ...@@ -224,7 +220,7 @@
waterInfo.address = i waterInfo.address = i
}, },
fail: function(err) { fail: function(err) {
console.log(err, 'err') // console.log(err, 'err')
} }
}; };
if (waterInfo.latitude && waterInfo.longitude) { if (waterInfo.latitude && waterInfo.longitude) {
...@@ -239,7 +235,7 @@ ...@@ -239,7 +235,7 @@
const { const {
errMsg errMsg
} = e.detail } = e.detail
console.log(e.detail, 'e.detail') // console.log(e.detail, 'e.detail')
if (errMsg !== 'insertCamera:fail auth deny') { if (errMsg !== 'insertCamera:fail auth deny') {
return return
} }
...@@ -254,7 +250,7 @@ ...@@ -254,7 +250,7 @@
success: function(res) { success: function(res) {
waterInfo.longitude = parseFloat(res.longitude).toFixed(4) waterInfo.longitude = parseFloat(res.longitude).toFixed(4)
waterInfo.latitude = parseFloat(res.latitude).toFixed(3) 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() that.baiduLocation()
}, },
fail(err) { fail(err) {
...@@ -264,7 +260,7 @@ ...@@ -264,7 +260,7 @@
}); });
}, },
showSettingModal(type) { showSettingModal(type) {
console.log(type, 'showModal-type') // console.log(type, 'showModal-type')
type = type || 'camera' type = type || 'camera'
const self = this const self = this
let authSetting = { let authSetting = {
...@@ -300,7 +296,6 @@ ...@@ -300,7 +296,6 @@
this.cameraChange = false this.cameraChange = false
wx.openSetting({ wx.openSetting({
success(res) { success(res) {
console.log(res, 'res-setting')
const authSetting = res.authSetting const authSetting = res.authSetting
self.cameraChange = true self.cameraChange = true
if (authSetting['scope.userLocation']) { if (authSetting['scope.userLocation']) {
...@@ -308,7 +303,6 @@ ...@@ -308,7 +303,6 @@
self.authSetting.location = true self.authSetting.location = true
self.getLocation() self.getLocation()
} }
console.log(self.cameraChange, 'this.cameraChange')
if (res.authSetting['scope.camera']) { if (res.authSetting['scope.camera']) {
self.authSetting.camera = true 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