From 5fc0819c3a6ac0735ffd1db53372e8d71bb91dc8 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 29 Jul 2019 19:34:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E5=BC=82?= =?UTF-8?q?=E6=AD=A5=E5=8D=95=E9=80=89=E6=A0=91=E7=9A=84=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E9=A2=9C=E8=89=B2=E6=B2=A1=E6=9C=89=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/2.0/fineui.ie.js | 11 +++++++++-- dist/2.0/fineui.js | 11 +++++++++-- dist/bundle.ie.js | 11 +++++++++-- dist/bundle.js | 11 +++++++++-- dist/config.js | 2 +- dist/fineui.ie.js | 9 ++++++++- dist/fineui.js | 9 ++++++++- dist/fineui_without_jquery_polyfill.js | 9 ++++++++- dist/utils.js | 2 +- dist/widget.js | 9 ++++++++- .../multilayersingletree.trigger.js | 9 ++++++++- 11 files changed, 78 insertions(+), 15 deletions(-) diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index 07fd48d7e..bc1a21966 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 960ee134f..67d7ed806 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 07fd48d7e..bc1a21966 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 960ee134f..67d7ed806 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 e362f2b63..78d503020 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 167a887db..525b81c13 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 c89e58137..6e38cdc21 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 95ab52918..0fbb0fcbd 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 5abac01b0..758bc8b63 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 1d68f7b22..3824651aa 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 e75a33cbb..87c16f2af 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); },