e809ffb0 by ex

GPS数据

1 parent 9eeefce7
...@@ -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) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!