Browse Source

无jira任务 优化cls

es6
imp 4 years ago
parent
commit
d6e6b33ccf
  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