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. 18
      src/widget/multilayerselecttree/multilayerselecttree.trigger.js
  2. 18
      src/widget/multilayersingletree/multilayersingletree.trigger.js

18
src/widget/multilayerselecttree/multilayerselecttree.trigger.js

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

18
src/widget/multilayersingletree/multilayersingletree.trigger.js

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

Loading…
Cancel
Save