Browse Source

Pull request #1594: 无jira任务 优化cls

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit 'd6e6b33ccf369a43ed656c3f739e979d33038df1':
  无jira任务 优化cls
es6
guy 4 years ago
parent
commit
e9e58eb7be
  1. 2
      src/base/collection/collection.js

2
src/base/collection/collection.js

@ -181,7 +181,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
width: datum.width,
height: datum.height
}, o.items[datum.index], {
cls: (o.items[datum.index].cls || "") + " container-cell" + (datum.y === 0 ? " first-row" : "") + (datum.x === 0 ? " first-col" : ""),
cls: (o.items[datum.index].cls || "") + " collection-cell" + (datum.y === 0 ? " first-row" : "") + (datum.x === 0 ? " first-col" : ""),
_left: datum.x,
_top: datum.y
}));

Loading…
Cancel
Save