Browse Source

update

master
iapyang 7 years ago
parent
commit
6696bb4d85
  1. 7
      dist/bundle.js
  2. 7
      dist/widget.js
  3. 7
      src/widget/singleselect/singleselectlist.insert.js

7
dist/bundle.js vendored

@ -104159,9 +104159,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
}, },
_assertValue: function (val) { _assertValue: function (val) {
val || (val = {}); val || (val = "");
val.type || (val.type = BI.Selection.Single);
val.value || (val.value = []);
}, },
_makeMap: function (values) { _makeMap: function (values) {
@ -104270,8 +104268,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
// this.trigger.adjustView(); // this.trigger.adjustView();
}, },
setValue: function (v) { setValue: function (v) {
this.storeValue = v || {}; this.storeValue = v || "";
this._assertValue(this.storeValue);
this.adapter.setValue(this.storeValue); this.adapter.setValue(this.storeValue);
this.trigger.setValue(this.storeValue); this.trigger.setValue(this.storeValue);
}, },

7
dist/widget.js vendored

@ -17648,9 +17648,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
}, },
_assertValue: function (val) { _assertValue: function (val) {
val || (val = {}); val || (val = "");
val.type || (val.type = BI.Selection.Single);
val.value || (val.value = []);
}, },
_makeMap: function (values) { _makeMap: function (values) {
@ -17759,8 +17757,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
// this.trigger.adjustView(); // this.trigger.adjustView();
}, },
setValue: function (v) { setValue: function (v) {
this.storeValue = v || {}; this.storeValue = v || "";
this._assertValue(this.storeValue);
this.adapter.setValue(this.storeValue); this.adapter.setValue(this.storeValue);
this.trigger.setValue(this.storeValue); this.trigger.setValue(this.storeValue);
}, },

7
src/widget/singleselect/singleselectlist.insert.js

@ -190,9 +190,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
}, },
_assertValue: function (val) { _assertValue: function (val) {
val || (val = {}); val || (val = "");
val.type || (val.type = BI.Selection.Single);
val.value || (val.value = []);
}, },
_makeMap: function (values) { _makeMap: function (values) {
@ -301,8 +299,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Widget, {
// this.trigger.adjustView(); // this.trigger.adjustView();
}, },
setValue: function (v) { setValue: function (v) {
this.storeValue = v || {}; this.storeValue = v || "";
this._assertValue(this.storeValue);
this.adapter.setValue(this.storeValue); this.adapter.setValue(this.storeValue);
this.trigger.setValue(this.storeValue); this.trigger.setValue(this.storeValue);
}, },

Loading…
Cancel
Save