From dea170521980618143f1c467c81e36ff89e410ea Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 26 Feb 2021 13:03:47 +0800 Subject: [PATCH] update --- src/base/single/button/button.basic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/single/button/button.basic.js b/src/base/single/button/button.basic.js index 40b6f003f..2bd82b17d 100644 --- a/src/base/single/button/button.basic.js +++ b/src/base/single/button/button.basic.js @@ -389,9 +389,9 @@ BI.BasicButton = BI.inherit(BI.Single, { return this.options.text; }, - setValue: function (text) { + setValue: function (value) { BI.BasicButton.superclass.setValue.apply(this, arguments); - this.options.setText && this.options.setText.call(this, text); + this.options.setValue && this.options.setValue.call(this, value); }, _setEnable: function (enable) {