From 1438bbf5d89d8517e5220e95c7cc9810af3442f9 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 28 Feb 2021 18:29:58 +0800 Subject: [PATCH] update --- src/base/single/single.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/single.js b/src/base/single/single.js index da689d42c..c4d15291d 100644 --- a/src/base/single/single.js +++ b/src/base/single/single.js @@ -208,7 +208,7 @@ BI.Single = BI.inherit(BI.Widget, { this.setValue(props.value); } if ("text" in props) { - this.setText(props.text); + this.setText && this.setText(props.text); } },