diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index 07fd48d7e3..bc1a219666 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -69991,7 +69991,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70070,6 +70070,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89315,7 +89322,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index 960ee134f6..67d7ed8060 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -70395,7 +70395,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70474,6 +70474,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89649,7 +89656,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index 07fd48d7e3..bc1a219666 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -69991,7 +69991,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70070,6 +70070,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89315,7 +89322,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/bundle.js b/dist/bundle.js index 960ee134f6..67d7ed8060 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -70395,7 +70395,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70474,6 +70474,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, @@ -89649,7 +89656,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () { }());BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/config.js b/dist/config.js index e362f2b633..78d503020f 100644 --- a/dist/config.js +++ b/dist/config.js @@ -2,7 +2,7 @@ BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 167a887dbf..525b81c132 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -70236,7 +70236,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70315,6 +70315,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/dist/fineui.js b/dist/fineui.js index c89e58137d..6e38cdc21b 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -70640,7 +70640,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -70719,6 +70719,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 95ab52918d..0fbb0fcbdb 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -53246,7 +53246,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -53325,6 +53325,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/dist/utils.js b/dist/utils.js index 5abac01b0f..758bc8b634 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -18109,7 +18109,7 @@ BI.Region.prototype = { };BI.i18n = { "BI-Multi_Date_Quarter_End": "季度末", "BI-Multi_Date_Month_Begin": "月初", - "BI-Multi_Date_YMD": "年/月/日", + "BI-Multi_Date_YMD": "年月日", "BI-Custom_Color": "自定义颜色", "BI-Numerical_Interval_Input_Data": "请输入数值", "BI-Please_Input_Natural_Number": "请输入非负整数", diff --git a/dist/widget.js b/dist/widget.js index 1d68f7b221..3824651aac 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -8061,7 +8061,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -8140,6 +8140,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); }, diff --git a/src/widget/multilayersingletree/multilayersingletree.trigger.js b/src/widget/multilayersingletree/multilayersingletree.trigger.js index e75a33cbb2..87c16f2afc 100644 --- a/src/widget/multilayersingletree/multilayersingletree.trigger.js +++ b/src/widget/multilayersingletree/multilayersingletree.trigger.js @@ -29,7 +29,7 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { ref: function () { self.editor = this; }, - text: this._digest(o.value), + text: o.text, value: o.value, height: o.height, tipText: "", @@ -108,6 +108,13 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, { }; }, + mounted: function () { + var o = this.options; + if(BI.isKey(o.value)) { + this.setValue([o.value]); + } + }, + _digest: function (v) { return this.options.valueFormatter(v); },