Browse Source

refactor: 默认值

es6
iapyang 4 years ago
parent
commit
5988fffcd5
  1. 2
      src/component/treevaluechooser/abstract.treevaluechooser.js

2
src/component/treevaluechooser/abstract.treevaluechooser.js

@ -598,7 +598,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
} }
function dealWithSelectedValue(parentValues, selectedValues) { function dealWithSelectedValue(parentValues, selectedValues) {
var valueMap = {}, parents = BI.deepClone(parentValues); var valueMap = {}, parents = (parentValues || []).slice(0);
BI.each(parentValues, function (i, v) { BI.each(parentValues, function (i, v) {
parents.push(v); parents.push(v);

Loading…
Cancel
Save