Browse Source

Merge pull request #1090 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit '4b5b8c81163ee1e7a3e57c1a0158b096f1f14201':
  定义在props中的国际化不识别
es6
windy 5 years ago
parent
commit
1eb97508b8
  1. 4
      src/widget/multilayerselecttree/multilayerselecttree.trigger.js
  2. 4
      src/widget/multilayersingletree/multilayersingletree.trigger.js

4
src/widget/multilayerselecttree/multilayerselecttree.trigger.js

@ -3,7 +3,8 @@
*/ */
BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, { BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
props: { props: function() {
return {
extraCls: "bi-multi-layer-select-tree-trigger bi-border bi-focus-shadow", extraCls: "bi-multi-layer-select-tree-trigger bi-border bi-focus-shadow",
height: 24, height: 24,
valueFormatter: function (v) { valueFormatter: function (v) {
@ -11,6 +12,7 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
}, },
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search") watermark: BI.i18nText("BI-Basic_Search")
};
}, },
render: function () { render: function () {

4
src/widget/multilayersingletree/multilayersingletree.trigger.js

@ -3,7 +3,8 @@
*/ */
BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
props: { props: function() {
return {
extraCls: "bi-multi-layer-single-tree-trigger bi-border bi-focus-shadow", extraCls: "bi-multi-layer-single-tree-trigger bi-border bi-focus-shadow",
height: 24, height: 24,
valueFormatter: function (v) { valueFormatter: function (v) {
@ -11,6 +12,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
}, },
itemsCreator: BI.emptyFn, itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search") watermark: BI.i18nText("BI-Basic_Search")
};
}, },
render: function () { render: function () {

Loading…
Cancel
Save