Browse Source

整理代码

es6
guy 3 years ago
parent
commit
d7a2198101
  1. 2
      src/core/wrapper/layout.js

2
src/core/wrapper/layout.js

@ -502,7 +502,7 @@ BI.Layout = BI.inherit(BI.Widget, {
if (BI.isNotNull(ch)) { if (BI.isNotNull(ch)) {
var node = self._getOptions(ch); var node = self._getOptions(ch);
var key = node.key == null ? startIdx : node.key; var key = node.key == null ? startIdx : node.key;
delete self._children[self._getChildName(key)]; delete self._children[self._getChildName(startIdx)];
children[key]._destroy(); children[key]._destroy();
} }
} }

Loading…
Cancel
Save