diff --git a/demo/js/widget/singletree/demo.multilayer_single_tree_combo.js b/demo/js/widget/singletree/demo.multilayer_single_tree_combo.js index 466f1484d7..109d0c489c 100644 --- a/demo/js/widget/singletree/demo.multilayer_single_tree_combo.js +++ b/demo/js/widget/singletree/demo.multilayer_single_tree_combo.js @@ -16,16 +16,8 @@ Demo.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, { ref: function (_ref) { self.tree = _ref; }, - allowEdit: true, text: "默认值", - itemsCreator: function() { - return { - items: [{ - value: 1 - }], - hasNext: false - } - }, + items: items, width: 300 }, { type: "bi.button", diff --git a/dist/demo.js b/dist/demo.js index 24af8bc04b..543d484b63 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -10586,16 +10586,8 @@ Demo.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, { ref: function (_ref) { self.tree = _ref; }, - allowEdit: true, text: "默认值", - itemsCreator: function() { - return { - items: [{ - value: 1 - }], - hasNext: false - } - }, + items: items, width: 300 }, { type: "bi.button",