Browse Source

fix: newValue为0时不生效的问题

es6
Kira 2 years ago
parent
commit
c4f35934f6
  1. 2
      src/core/4.widget.js

2
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] = "";
}
}

Loading…
Cancel
Save