From 811975056146b8a813bd5b75af082f3a8e3091c4 Mon Sep 17 00:00:00 2001 From: "Xavier.Meng" Date: Fri, 3 Mar 2023 14:50:55 +0800 Subject: [PATCH] =?UTF-8?q?BI-122401=20refactor(trigger.text):=20=E4=BD=BF?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=8C=87=E5=AE=9A=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/trigger/trigger.text.js | 1 + src/case/trigger/trigger.text.select.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/case/trigger/trigger.text.js b/src/case/trigger/trigger.text.js index 6e7273252..4c1335ce6 100644 --- a/src/case/trigger/trigger.text.js +++ b/src/case/trigger/trigger.text.js @@ -40,6 +40,7 @@ BI.TextTrigger = BI.inherit(BI.Trigger, { height: o.height, text: text || o.defaultText, tipType: o.tipType, + title: o.title, warningTitle: o.warningTitle, hgap: o.textHgap, vgap: o.textVgap, diff --git a/src/case/trigger/trigger.text.select.js b/src/case/trigger/trigger.text.select.js index 005ac241b..feb0f138b 100644 --- a/src/case/trigger/trigger.text.select.js +++ b/src/case/trigger/trigger.text.select.js @@ -35,7 +35,7 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, { textTgap: o.textTgap, textBgap: o.textBgap, tipType: o.tipType, - title: null, + title: o.title, allowClear: o.allowClear, listeners: [ {