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, { BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
props: { props: function() {
extraCls: "bi-multi-layer-select-tree-trigger bi-border bi-focus-shadow", return {
height: 24, extraCls: "bi-multi-layer-select-tree-trigger bi-border bi-focus-shadow",
valueFormatter: function (v) { height: 24,
return v; valueFormatter: function (v) {
}, return v;
itemsCreator: BI.emptyFn, },
watermark: BI.i18nText("BI-Basic_Search") itemsCreator: BI.emptyFn,
watermark: BI.i18nText("BI-Basic_Search")
};
}, },
render: function () { render: function () {

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

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

Loading…
Cancel
Save