diff --git a/dist/2.0/fineui.ie.js b/dist/2.0/fineui.ie.js index 33d63a2fc0..c84babc5d0 100644 --- a/dist/2.0/fineui.ie.js +++ b/dist/2.0/fineui.ie.js @@ -68909,7 +68909,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -69885,7 +69887,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/dist/2.0/fineui.js b/dist/2.0/fineui.js index 1bf1251a7b..a0f366ca30 100644 --- a/dist/2.0/fineui.js +++ b/dist/2.0/fineui.js @@ -69313,7 +69313,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -70289,7 +70291,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/dist/bundle.ie.js b/dist/bundle.ie.js index 33d63a2fc0..c84babc5d0 100644 --- a/dist/bundle.ie.js +++ b/dist/bundle.ie.js @@ -68909,7 +68909,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -69885,7 +69887,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/dist/bundle.js b/dist/bundle.js index 1bf1251a7b..a0f366ca30 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -69313,7 +69313,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -70289,7 +70291,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/dist/fineui.ie.js b/dist/fineui.ie.js index 5b0eeb989a..c477c2cca8 100644 --- a/dist/fineui.ie.js +++ b/dist/fineui.ie.js @@ -69154,7 +69154,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -70130,7 +70132,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/dist/fineui.js b/dist/fineui.js index 8446737774..199c519c86 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -69558,7 +69558,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -70534,7 +70536,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/dist/fineui_without_jquery_polyfill.js b/dist/fineui_without_jquery_polyfill.js index 02c84a1853..b28fd66641 100644 --- a/dist/fineui_without_jquery_polyfill.js +++ b/dist/fineui_without_jquery_polyfill.js @@ -52164,7 +52164,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -53140,7 +53142,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/dist/widget.js b/dist/widget.js index b0553e5516..7c504257b6 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -6976,7 +6976,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { @@ -7952,7 +7954,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js b/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js index 9309de5aef..79705505ca 100644 --- a/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js +++ b/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js @@ -159,7 +159,9 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () { diff --git a/src/widget/multilayersingletree/multilayersingletree.leveltree.js b/src/widget/multilayersingletree/multilayersingletree.leveltree.js index 0de4d5a54b..ae11c36b61 100644 --- a/src/widget/multilayersingletree/multilayersingletree.leveltree.js +++ b/src/widget/multilayersingletree/multilayersingletree.leveltree.js @@ -158,7 +158,9 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Pane, { }, getValue: function () { - return BI.isArray(this.storeValue) ? this.storeValue : [this.storeValue]; + return BI.isArray(this.storeValue) ? + this.storeValue : BI.isNull(this.storeValue) ? + [] : [this.storeValue]; }, getAllLeaves: function () {