e8101757 by unknown

提示运行环境

1 parent 6529242b
...@@ -48,9 +48,10 @@ AppClient.prototype.getERCode = function (jsonStr, callback) { ...@@ -48,9 +48,10 @@ AppClient.prototype.getERCode = function (jsonStr, callback) {
48 }; 48 };
49 AppClient.prototype.getGPS = function (jsonStr, callback) { 49 AppClient.prototype.getGPS = function (jsonStr, callback) {
50 var dataParams = ""; 50 var dataParams = "";
51 if(isJson(jsonStr)){ 51 if(isJson(jsonStr)) {
52 dataParams = JSON.parse(jsonStr); 52 dataParams = JSON.parse(jsonStr);
53 var iOSData = { 53 }
54 var param = {
54 from: 'H5', 55 from: 'H5',
55 params: dataParams 56 params: dataParams
56 }; 57 };
...@@ -95,5 +96,5 @@ if(isAndroid || isiOS) { ...@@ -95,5 +96,5 @@ if(isAndroid || isiOS) {
95 // 此处可以调用一些init的方法 96 // 此处可以调用一些init的方法
96 }); 97 });
97 } else { 98 } else {
98 appClient = undefined 99 appClient = undefined;
99 } 100 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!