Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
和慭琛
take_order
Commits
68cbd8d1
Commit
68cbd8d1
authored
Mar 31, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除console.log
parent
8dffc547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
take.vue
take-order/pages/photo/take.vue
+4
-10
No files found.
take-order/pages/photo/take.vue
View file @
68cbd8d1
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment