From c0f6ad25502fb1a7dc252e700c0c6fd7ef9971e2 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 16 Sep 2019 11:06:08 +0800 Subject: [PATCH] =?UTF-8?q?BI-51815=20fix:=20=E5=92=8Ctrigger.text.select?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=90=8C=E6=AD=A5=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/trigger/trigger.icon.text.select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/case/trigger/trigger.icon.text.select.js b/src/case/trigger/trigger.icon.text.select.js index 752cde1c7..38e3c3ded 100644 --- a/src/case/trigger/trigger.icon.text.select.js +++ b/src/case/trigger/trigger.icon.text.select.js @@ -54,7 +54,7 @@ BI.SelectIconTextTrigger = BI.inherit(BI.Trigger, { }; } else { return { - text: o.text, + text: BI.isFunction(o.text) ? o.text() : o.text, textCls: "bi-water-mark", iconCls: o.iconCls };