Browse Source

移动端适配

es6
guy 4 years ago
parent
commit
cd3f7bf018
  1. 4
      src/core/controller/controller.resizer.js

4
src/core/controller/controller.resizer.js

@ -18,7 +18,11 @@ BI.ResizeController = BI.inherit(BI.Controller, {
self._resize(ev);
// }
}, 30);
if ("onoreientationchange" in window) {
window.onoreientationchange = fn;
} else {
BI.Widget._renderEngine.createElement(_global).resize(fn);
}
},
_resize: function (ev) {

Loading…
Cancel
Save