From 760e7c0bc9a05d118a4fc56c20c5638e5db82529 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 17 Feb 2022 22:46:26 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20sticky=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/platform/web/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/platform/web/config.js b/src/core/platform/web/config.js index 5770bcb3b..f54b1a3b3 100644 --- a/src/core/platform/web/config.js +++ b/src/core/platform/web/config.js @@ -164,12 +164,12 @@ BI.prepares.push(function () { }); }); BI.Plugin.configWidget("bi.horizontal_sticky", function (ob) { - if (isSupportSticky) { + if (!isSupportSticky) { return BI.extend({}, ob, {type: "bi.horizontal_fill"}); } }); BI.Plugin.configWidget("bi.vertical_sticky", function (ob) { - if (isSupportSticky) { + if (!isSupportSticky) { return BI.extend({}, ob, {type: "bi.vertical_fill"}); } });