Browse Source

Pull request #1409: BI-69168 fix: grid_view中的item的unmont不执行使得title一直存在

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'c426ad3a5db1dd79e4b06d7cb569a036e9d5c17f':
  BI-69168 fix: grid_view中的item的unmont不执行使得title一直存在
es6
guy 4 years ago
parent
commit
a1ec4a1fcf
  1. 1
      changelog.md
  2. 3
      src/base/grid/grid.js

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志
2.0(2020-07)
- 修复了grid_view执行_unMount时不调用子组件的_unMount的问题
- combo新增belowMouse属性,允许popup在点击处弹出
- combo新增hideWhenAnotherComboOpen属性,开启则其他combo下拉时当前combo收起
- 修复了datePicker在setValue的时候没有动态刷新可用月份的问题

3
src/base/grid/grid.js

@ -150,7 +150,8 @@ BI.GridView = BI.inherit(BI.Widget, {
if (this.renderedCells[index]._top !== rowDatum.offset + verticalOffsetAdjustment) {
this.renderedCells[index].el.element.css("top", (rowDatum.offset + verticalOffsetAdjustment) + "px");
}
renderedCells.push(child = this.renderedCells[index]);
child = this.renderedCells[index].el;
renderedCells.push(this.renderedCells[index]);
} else {
child = BI.createWidget(BI.extend({
type: "bi.label",

Loading…
Cancel
Save