Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
4049db481bbeaa2395eee4b4946a0a2c12e1351c
Authored by
vking
2019-10-12 15:50:25 +0800
1 parent
8bcc016c
build: skipped
移动或缩放地图,获取更多餐厅
Changes
1
Builds
0
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
utils/util.wxs
utils/util.wxs
View file @
4049db4
...
...
@@ -78,9 +78,10 @@ module.exports = {
if(mi>=1000){
mi=mi/1000
gl='km'
}
if(mi<5){
return '5m'
}else{
if(mi<5){
return '5m'
}
}
return mi.toFixed(2)+gl
}
...
...
Please
register
or
login
to post a comment