function startGame()
{
console.log(" startGame 1 ");
var sys = wx.getSystemInfoSync();
console.log(sys);
wx.onWindowResize(function (obj) {
console.log(" startGame 2 ");
});
}
startGame()
打印无法执行 onWindowResize 的回调 请问缺少什么步骤么 还是怎么
感觉 onWindowResize 未实现
ƒ (){try{return e.apply(e,arguments)}catch(e){if("[object Error]"===Object.prototype.toString.apply(e)){if("AppServiceSdkKnownError"==e.type)throw e;Reporter.errorReport({key:n,error:e,extend:t})}}}
这个是打印出来的实现