Browse Source

BI-122401 refactor(trigger.text): 使支持指定 title

research/test
Xavier.Meng 1 year ago
parent
commit
8119750561
  1. 1
      src/case/trigger/trigger.text.js
  2. 2
      src/case/trigger/trigger.text.select.js

1
src/case/trigger/trigger.text.js

@ -40,6 +40,7 @@ BI.TextTrigger = BI.inherit(BI.Trigger, {
height: o.height, height: o.height,
text: text || o.defaultText, text: text || o.defaultText,
tipType: o.tipType, tipType: o.tipType,
title: o.title,
warningTitle: o.warningTitle, warningTitle: o.warningTitle,
hgap: o.textHgap, hgap: o.textHgap,
vgap: o.textVgap, vgap: o.textVgap,

2
src/case/trigger/trigger.text.select.js

@ -35,7 +35,7 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
textTgap: o.textTgap, textTgap: o.textTgap,
textBgap: o.textBgap, textBgap: o.textBgap,
tipType: o.tipType, tipType: o.tipType,
title: null, title: o.title,
allowClear: o.allowClear, allowClear: o.allowClear,
listeners: [ listeners: [
{ {

Loading…
Cancel
Save