From c4f35934f6b6750d06b5f29a3e8ed706f5a2d9e4 Mon Sep 17 00:00:00 2001 From: Kira Date: Thu, 28 Jul 2022 13:55:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20newValue=E4=B8=BA0=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/4.widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/4.widget.js b/src/core/4.widget.js index 61b09a07b..4ca395207 100644 --- a/src/core/4.widget.js +++ b/src/core/4.widget.js @@ -225,7 +225,7 @@ if (BI.isFunction(o.css)) { var css = this.__watch(o.css, function (context, newValue) { for (var k in css) { - if (!newValue[k]) { + if (BI.isNull(newValue[k])) { newValue[k] = ""; } }