From 2e0480638ecb67380a9d24fa5b4fab06a3cba183 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 23 Sep 2021 14:09:58 +0800 Subject: [PATCH] =?UTF-8?q?BI-94391=20fix:=20grid=20populate=E7=A9=BA?= =?UTF-8?q?=E6=95=B0=E7=BB=84=E6=BB=9A=E5=8A=A8=E6=9D=A1=E4=BB=8D=E7=84=B6?= =?UTF-8?q?=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/grid/grid.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/base/grid/grid.js b/src/base/grid/grid.js index 50b45295e..436328ca6 100644 --- a/src/base/grid/grid.js +++ b/src/base/grid/grid.js @@ -271,6 +271,9 @@ BI.GridView = BI.inherit(BI.Widget, { } catch (e) { } this._calculateChildrenToRender(); + } else { + this.container.setWidth("auto"); + this.container.setHeight("auto"); } },