From c2fcb6dca9a5f51d7e65b905574599c54af02e00 Mon Sep 17 00:00:00 2001 From: zsmj Date: Mon, 15 Aug 2022 18:35:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20node=E7=9A=84once=E6=94=B9?= =?UTF-8?q?=E7=94=B1options=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/button/button.node.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/base/single/button/button.node.js b/src/base/single/button/button.node.js index 8e17a4ea5..23403f1b9 100644 --- a/src/base/single/button/button.node.js +++ b/src/base/single/button/button.node.js @@ -11,7 +11,8 @@ BI.NodeButton = BI.inherit(BI.BasicButton, { var conf = BI.NodeButton.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { _baseCls: (conf._baseCls || "") + " bi-node", - open: false + open: false, + once: false, }); }, @@ -27,10 +28,6 @@ BI.NodeButton = BI.inherit(BI.BasicButton, { this.setOpened(!this.isOpened()); }, - isOnce: function () { - return false; - }, - isOpened: function () { return !!this.options.open; },