e8101757 by unknown

提示运行环境

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