diff --git a/src/base/single/1.text.js b/src/base/single/1.text.js index cc6081e7f..235a1a404 100644 --- a/src/base/single/1.text.js +++ b/src/base/single/1.text.js @@ -76,7 +76,11 @@ this.text = this; } - var text = this._getShowText(); + var text = BI.isFunction(o.text) ? this.__watch(o.text, function (context, newValue) { + self.setText(newValue); + }, { + deep: true + }) : o.text; // 只要不是undefined就可以显示text值,否则显示value if (!BI.isUndefined(text)) { this.setText(text);