Browse Source

Merge pull request #226158 in DEC/fineui from release/11.0 to feature/x

* commit '0440f9d8583ad061c63ef3f6e821f576e8f53b6c':
  BI-122401 refactor(trigger.text): 使支持指定 title
master
superman 2 years ago
parent
commit
b6a29999c6
  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