Commit 1877e80c authored by zjz1994's avatar zjz1994

deviceready处理

parent 095641d4
...@@ -587,7 +587,7 @@ export default class MainBase extends eui.UILayer { ...@@ -587,7 +587,7 @@ export default class MainBase extends eui.UILayer {
let t1 = setTimeout(() => { let t1 = setTimeout(() => {
console.log("苏宁准备失败"); console.log("苏宁准备失败");
resolve(); resolve();
}, 3000); }, 6000);
document.addEventListener("deviceready", function() { document.addEventListener("deviceready", function() {
console.log("苏宁准备完毕"); console.log("苏宁准备完毕");
clearTimeout(t1); clearTimeout(t1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment