GPS数据
Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -20,7 +20,6 @@ function toJson(str) { | ... | @@ -20,7 +20,6 @@ function toJson(str) { |
| 20 | if(str.length > 2){ | 20 | if(str.length > 2){ |
| 21 | var result = /\{([\s\S]*)\}/.exec(str); | 21 | var result = /\{([\s\S]*)\}/.exec(str); |
| 22 | } | 22 | } |
| 23 | debugger | ||
| 24 | var arr = result[1].split(',') | 23 | var arr = result[1].split(',') |
| 25 | var obj = {} | 24 | var obj = {} |
| 26 | arr.forEach(function (value) { | 25 | arr.forEach(function (value) { | ... | ... |
-
Please register or sign in to post a comment