From 0f089cb6f7445674901ea406ffbe7f8ffc8103e7 Mon Sep 17 00:00:00 2001 From: dailer Date: Tue, 21 May 2019 15:49:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/platform/web/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/platform/web/config.js b/src/core/platform/web/config.js index ecd8ae632..079b56e83 100644 --- a/src/core/platform/web/config.js +++ b/src/core/platform/web/config.js @@ -6,12 +6,12 @@ BI.prepares.push(function () { // 2、IE或者不支持flex的浏览器下使用inline布局 // 3、在2的情况下如果布局的items大于1的话使用display:table的布局 // 4、在3的情况下如果IE版本低于8使用table标签布局 - var _isSupprtFlex; + var _isSupportFlex; var isSupportFlex = function () { - if (_isSupprtFlex == null) { - _isSupprtFlex = !!(BI.isSupportCss3 && BI.isSupportCss3("flex")); + if (_isSupportFlex == null) { + _isSupportFlex = !!(BI.isSupportCss3 && BI.isSupportCss3("flex")); } - return _isSupprtFlex; + return _isSupportFlex; }; BI.Plugin.registerWidget("bi.horizontal", function (ob) { var isIE = BI.isIE(), supportFlex = isSupportFlex(), isLessIE8 = isIE && BI.getIEVersion() < 8;