From 1d245d2b586a34de7758413f6e6870b96b41e9ae Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 30 Jul 2021 20:11:24 +0800 Subject: [PATCH] add --- src/core/platform/web/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/platform/web/config.js b/src/core/platform/web/config.js index eba904a57..902005468 100644 --- a/src/core/platform/web/config.js +++ b/src/core/platform/web/config.js @@ -120,7 +120,8 @@ BI.prepares.push(function () { if ((ob.horizontalAlign && ob.horizontalAlign !== BI.HorizontalAlign.Stretch) || (ob.scrollable === true || ob.scrollx === true)) { // 宽度不受限,要用table布局 return BI.extend({ - horizontalAlign: BI.HorizontalAlign.Stretch + horizontalAlign: BI.HorizontalAlign.Stretch, + verticalAlign: BI.VerticalAlign.Stretch, }, ob, {type: "bi.table_adapt"}); } return BI.extend({}, ob, {type: "bi.horizontal_float_fill"});