Browse Source

chore: 整理代码

es6
guy 3 years ago
parent
commit
aa7af7d885
  1. 8
      src/base/combination/combo.js

8
src/base/combination/combo.js

@ -302,6 +302,14 @@
delete needHideWhenAnotherComboOpen[this.getName()]; delete needHideWhenAnotherComboOpen[this.getName()];
} }
}); });
BI.Combo.closeAll = function () {
BI.each(needHideWhenAnotherComboOpen, function (i, combo) {
if (combo) {
combo.hideView();
}
});
needHideWhenAnotherComboOpen = {};
};
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE"; BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
BI.Combo.EVENT_CHANGE = "EVENT_CHANGE"; BI.Combo.EVENT_CHANGE = "EVENT_CHANGE";
BI.Combo.EVENT_EXPAND = "EVENT_EXPAND"; BI.Combo.EVENT_EXPAND = "EVENT_EXPAND";

Loading…
Cancel
Save