手机屏幕切换方向报的一个错误,求解
开启屏幕旋转自动切换方向 [代码]"window"[代码][代码]: {[代码][代码] [代码][代码]"backgroundTextStyle"[代码][代码]: [代码][代码]"light"[代码][代码],[代码][代码] [代码][代码]"navigationBarBackgroundColor"[代码][代码]: [代码][代码]"#FF6659"[代码][代码],[代码][代码] [代码][代码]"navigationBarTitleText"[代码][代码]: [代码][代码]"迪艾斯士多"[代码][代码],[代码][代码] [代码][代码]"navigationBarTextStyle"[代码][代码]: [代码][代码]"white"[代码][代码],[代码][代码] [代码][代码]"backgroundColor"[代码][代码]: [代码][代码]"#544E58"[代码][代码],[代码][代码] [代码][代码]"pageOrientation"[代码][代码]: [代码][代码]"auto"[代码][代码] [代码][代码]},[代码] 开发工具内不报错,但是手机测试,每次切换方向都会报一个错误! [图片] [publib]:1 thirdScriptError Cannot read property 'then' of undefined;at onWindowResize callback function TypeError: Cannot read property 'then' of undefined at Function.<anonymous> ([publib]:1:977362) at [publib]:1:102156 at [publib]:1:713477 at Array.forEach (<anonymous>) at Function.<anonymous> ([publib]:1:713384) at [publib]:1:102156 at Timeout._onTimeout ([publib]:1:90271) at ontimeout (timers.js:471:11) at tryOnTimeout (timers.js:306:5) at Timer.listOnTimeout (timers.js:266:5) 有人知道怎么回事吗?