From 5a3c804bbb9c3a1f6788067c45a4a7a8a9ce9557 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 5 Sep 2019 19:47:26 +0800 Subject: [PATCH] revert --- .../singletree/demo.multilayer_single_tree_combo.js | 10 +--------- dist/demo.js | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) 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 466f1484d..109d0c489 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 24af8bc04..543d484b6 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",