Browse Source

Pull request #3163: 无JIRA fix: 修复tape布局 NaN的场景

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '38502dd94a2b5b3f1500f5ca0bcfec925e5a60f9':
  无JIRA fix: 修复tape布局 NaN的场景
es6
Dailer-刘荣歆 2 years ago
parent
commit
53db9dc7e7
  1. 4
      src/core/wrapper/layout/layout.tape.js

4
src/core/wrapper/layout/layout.tape.js

@ -92,7 +92,7 @@ BI.HTapeLayout = BI.inherit(BI.Layout, {
left: self._optimiseGap(left[i] + self._optimiseItemLgap(item) + self._optimiseItemHgap(item) + o.hgap + o.lgap)
});
if (columnSize === "" || columnSize === "fill") {
if (BI.isNull(columnSize) || columnSize === "" || columnSize === "fill") {
return true;
}
});
@ -110,7 +110,7 @@ BI.HTapeLayout = BI.inherit(BI.Layout, {
right: self._optimiseGap(right[i] + self._optimiseItemRgap(item) + self._optimiseItemHgap(item) + o.hgap + o.rgap)
});
if (columnSize === "" || columnSize === "fill") {
if (BI.isNull(columnSize) || columnSize === "" || columnSize === "fill") {
return true;
}
});

Loading…
Cancel
Save