diff --git a/src/case/checkbox/check.arrownode.js b/src/case/checkbox/check.arrownode.js index 519ae1d45..3347f83d0 100644 --- a/src/case/checkbox/check.arrownode.js +++ b/src/case/checkbox/check.arrownode.js @@ -3,13 +3,13 @@ * 右与下箭头切换的树节点 */ BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { - _defaultConfig: function () { - var conf = BI.ArrowTreeGroupNodeCheckbox.superclass._defaultConfig.apply(this, arguments); - return BI.extend(conf, { + + props: function (conf) { + return { extraCls: "bi-arrow-group-node-checkbox " + (conf.collapseIcon || "expander-right-font"), expandIcon: "expander-down-font", collapseIcon: "expander-right-font" - }); + }; }, setSelected: function (v) {