diff --git a/dist/bundle.js b/dist/bundle.js index 7576b93c65..e02556e554 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -103569,7 +103569,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, { BI.isKey(self._startValue) && (self.storeValue = self._startValue); self.trigger.getSearcher().setState(self.storeValue); }; - this.storeValue = o.value || ""; + this.storeValue = o.value; // 标记正在请求数据 this.requesting = false; @@ -103875,7 +103875,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, { }, setValue: function (v) { - this.storeValue = v || ""; + this.storeValue = v; this._assertValue(this.storeValue); this.combo.setValue(this.storeValue); }, @@ -103897,7 +103897,8 @@ BI.extend(BI.SingleSelectCombo, { BI.SingleSelectCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.single_select_combo", BI.SingleSelectCombo);/** +BI.shortcut("bi.single_select_combo", BI.SingleSelectCombo); +/** * 选择列表 * * Created by GUY on 2015/11/1. diff --git a/dist/widget.js b/dist/widget.js index 6ac30f5b8a..7e8f60e27b 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -16682,7 +16682,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, { BI.isKey(self._startValue) && (self.storeValue = self._startValue); self.trigger.getSearcher().setState(self.storeValue); }; - this.storeValue = o.value || ""; + this.storeValue = o.value; // 标记正在请求数据 this.requesting = false; @@ -16988,7 +16988,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, { }, setValue: function (v) { - this.storeValue = v || ""; + this.storeValue = v; this._assertValue(this.storeValue); this.combo.setValue(this.storeValue); }, @@ -17010,7 +17010,8 @@ BI.extend(BI.SingleSelectCombo, { BI.SingleSelectCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.single_select_combo", BI.SingleSelectCombo);/** +BI.shortcut("bi.single_select_combo", BI.SingleSelectCombo); +/** * 选择列表 * * Created by GUY on 2015/11/1. diff --git a/src/widget/singleselect/singleselect.combo.js b/src/widget/singleselect/singleselect.combo.js index 086abd2809..d556ee45d3 100644 --- a/src/widget/singleselect/singleselect.combo.js +++ b/src/widget/singleselect/singleselect.combo.js @@ -22,7 +22,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, { BI.isKey(self._startValue) && (self.storeValue = self._startValue); self.trigger.getSearcher().setState(self.storeValue); }; - this.storeValue = o.value || ""; + this.storeValue = o.value; // 标记正在请求数据 this.requesting = false; @@ -328,7 +328,7 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, { }, setValue: function (v) { - this.storeValue = v || ""; + this.storeValue = v; this._assertValue(this.storeValue); this.combo.setValue(this.storeValue); }, @@ -350,4 +350,4 @@ BI.extend(BI.SingleSelectCombo, { BI.SingleSelectCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -BI.shortcut("bi.single_select_combo", BI.SingleSelectCombo); \ No newline at end of file +BI.shortcut("bi.single_select_combo", BI.SingleSelectCombo);