fixed #635
This commit is contained in:
parent
96a6cb6c2e
commit
65b41a2d6f
2 changed files with 28 additions and 129 deletions
|
@ -112,7 +112,7 @@
|
|||
];
|
||||
},
|
||||
showCloseIcon () {
|
||||
return this.currentValue && this.currentValue.length && this.clearable;
|
||||
return this.currentValue && this.currentValue.length && this.clearable && !this.disabled;
|
||||
},
|
||||
displayRender () {
|
||||
let label = [];
|
||||
|
@ -125,6 +125,7 @@
|
|||
},
|
||||
methods: {
|
||||
clearSelect () {
|
||||
if (this.disabled) return false;
|
||||
const oldVal = JSON.stringify(this.currentValue);
|
||||
this.currentValue = this.selected = this.tmpSelected = [];
|
||||
this.handleClose();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue