From 3063bf83248d8c53e37cbce4a0d4d7cc5938ec28 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 28 Aug 2020 00:34:00 +0800 Subject: [PATCH] bugfix --- src/core/platform/web/config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/platform/web/config.js b/src/core/platform/web/config.js index 913870007..7a8bd952a 100644 --- a/src/core/platform/web/config.js +++ b/src/core/platform/web/config.js @@ -18,6 +18,9 @@ BI.prepares.push(function () { if (isLessIE8) { return ob; } + if (ob.items && ob.items.length > 1) { + return BI.extend(ob, {type: "bi.table_adapt"}); + } if (!IE && supportFlex) { return BI.extend(ob, {type: "bi.flex_horizontal"}); }