From cfd96d4dbc9f38667bf13d05b8774d64287ac305 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 31 Dec 2020 14:38:51 +0800 Subject: [PATCH] update --- demo/js/component/demo.valuechoosercombo.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/demo/js/component/demo.valuechoosercombo.js b/demo/js/component/demo.valuechoosercombo.js index 1fd1485cd..bd0d84112 100644 --- a/demo/js/component/demo.valuechoosercombo.js +++ b/demo/js/component/demo.valuechoosercombo.js @@ -4,16 +4,10 @@ Demo.ValueChooserCombo = BI.inherit(BI.Widget, { }, render: function () { var widget = BI.createWidget({ - type: "bi.value_chooser_no_bar_combo", + type: "bi.value_chooser_combo", itemsCreator: function (op, callback) { callback(BI.deepClone(Demo.CONSTANTS.ITEMS)); - }, - listeners: [{ - eventName: "EVENT_CONFIRM", - action: function () { - BI.Msg.toast(widget.getValue()); - } - }] + } }); return { type: "bi.vertical",