/**
     * 设置自动随屏幕大小自动调整大小
     */
    Ext.EventManager.onWindowResize(function() {
        if (viewport != null) {
            viewport.setWidth(document.body.clientWidth);
            viewport.setHeight(document.body.clientHeight);
        }
    });

相关文章:

  • 2021-10-12
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-06-11
猜你喜欢
  • 2022-01-06
  • 2021-10-24
  • 2021-09-30
  • 2021-09-22
  • 2022-01-19
  • 2021-10-30
相关资源
相似解决方案