Commit 312b4e69 by 王榕

修改定位数据

parent dfe62578
...@@ -537,7 +537,7 @@ Page({ ...@@ -537,7 +537,7 @@ Page({
restDay, restDay,
updateTime updateTime
} = data } = data
gpsLocate = JSON.parse(gpsLocate) gpsLocate = (gpsLocate).split(',')
if (gpsLocate && gpsLocate.length){ if (gpsLocate && gpsLocate.length){
this.setMap(gpsLocate[0], gpsLocate[1]) this.setMap(gpsLocate[0], gpsLocate[1])
} }
......
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