|
|
@ -68,7 +68,7 @@ export class SingleSelectCombo extends Single { |
|
|
|
// 预防trigger内部把当前的storeValue改掉
|
|
|
|
// 预防trigger内部把当前的storeValue改掉
|
|
|
|
this.trigger.setValue(this.getValue()); |
|
|
|
this.trigger.setValue(this.getValue()); |
|
|
|
} |
|
|
|
} |
|
|
|
callback.apply(this, ...args); |
|
|
|
callback.apply(this, args); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
text: o.text, |
|
|
|
text: o.text, |
|
|
@ -84,7 +84,7 @@ export class SingleSelectCombo extends Single { |
|
|
|
|
|
|
|
|
|
|
|
this.trigger.on(SingleSelectTrigger.EVENT_START, () => { |
|
|
|
this.trigger.on(SingleSelectTrigger.EVENT_START, () => { |
|
|
|
this._setStartValue(); |
|
|
|
this._setStartValue(); |
|
|
|
this.getSearcher().setValue(this.storeValue); |
|
|
|
this.trigger.getSearcher().setValue(this.storeValue); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(SingleSelectTrigger.EVENT_STOP, () => { |
|
|
|
this.trigger.on(SingleSelectTrigger.EVENT_STOP, () => { |
|
|
|
this._setStartValue(); |
|
|
|
this._setStartValue(); |
|
|
|