38cce803 by unknown

提示运行环境

1 parent 9b506f74
...@@ -15,7 +15,7 @@ function isJson(str) { ...@@ -15,7 +15,7 @@ function isJson(str) {
15 return true; 15 return true;
16 } 16 }
17 function toJson(str) { 17 function toJson(str) {
18 var i = str.index('{') 18 var i = str.index('{')git
19 try { 19 try {
20 var arr = str.split(2,str.length - 4) 20 var arr = str.split(2,str.length - 4)
21 console.log(arr) 21 console.log(arr)
...@@ -96,7 +96,7 @@ if(isAndroid || isiOS) { ...@@ -96,7 +96,7 @@ if(isAndroid || isiOS) {
96 if(isAndroid) { 96 if(isAndroid) {
97 appClient = new AppClient(window.WebViewJavascriptBridge, true); 97 appClient = new AppClient(window.WebViewJavascriptBridge, true);
98 layer.open({ 98 layer.open({
99 content: JSON.parse(JSON.stringify(appClient)), 99 content: JSON.stringify(appClient),
100 time: 2 100 time: 2
101 }) 101 })
102 bridge.init(function (message, responseCallback) { 102 bridge.init(function (message, responseCallback) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!