Browse Source

Pull request #2269: DEC-21295 fix: 【专题】【目录管理】管理目录下目录展开显示空白,目录按钮功能异常

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

* commit '572e5cc9beedfa4e96860b4e7ec34de901507331':
  DEC-21295 fix: 【专题】【目录管理】管理目录下目录展开显示空白,目录按钮功能异常
es6
Dailer 3 years ago
parent
commit
89ad88d6da
  1. 1
      src/core/wrapper/layout.js

1
src/core/wrapper/layout.js

@ -420,6 +420,7 @@ BI.Layout = BI.inherit(BI.Widget, {
var shouldUpdate = this.shouldUpdateItem(oldIndex, vnode); var shouldUpdate = this.shouldUpdateItem(oldIndex, vnode);
var child = this._children[this._getChildName(oldIndex)]; var child = this._children[this._getChildName(oldIndex)];
if (shouldUpdate) { if (shouldUpdate) {
this._children[this._getChildName(newIndex) + "-temp"] = child;
return child._update(this._getOptions(vnode), shouldUpdate); return child._update(this._getOptions(vnode), shouldUpdate);
} }
if (shouldUpdate === null && !this._compare(oldVnode, vnode)) { if (shouldUpdate === null && !this._compare(oldVnode, vnode)) {

Loading…
Cancel
Save