From 7373184c3c0247f42abcde13ac5b28a93e7b62ea Mon Sep 17 00:00:00 2001 From: iapyang Date: Tue, 17 Apr 2018 19:36:53 +0800 Subject: [PATCH] udpate --- dist/bundle.js | 7 ++++--- dist/widget.js | 7 ++++--- src/widget/singleselect/singleselect.combo.js | 6 +++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 5ac8c14d8c..d4c70237cf 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 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);