fixed #2215
This commit is contained in:
parent
b142865eff
commit
22c27b7962
2 changed files with 63 additions and 40 deletions
|
@ -404,6 +404,10 @@
|
|||
this.currentValue = '';
|
||||
this.$emit('on-clear');
|
||||
this.dispatch('FormItem', 'on-form-change', '');
|
||||
// #2215,当初始设置了 value,直接点 clear,这时 this.picker 还没有加载
|
||||
if (!this.picker) {
|
||||
this.emitChange('');
|
||||
}
|
||||
},
|
||||
showPicker () {
|
||||
if (!this.picker) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue