diff --git a/dist/bundle.js b/dist/bundle.js index 5ac8c14d8..d4c70237c 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -103570,7 +103570,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; @@ -103876,7 +103876,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); }, @@ -103898,7 +103898,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 6ac30f5b8..7e8f60e27 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 086abd280..d556ee45d 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);