mirror of https://github.com/ElemeFE/element
Merge pull request #2007 from Leopoldthecoder/select-disable
Select: fix disabled multiple tag deletepull/1967/merge
commit
85a03183f3
|
@ -554,7 +554,7 @@
|
|||
|
||||
deleteTag(event, tag) {
|
||||
let index = this.selected.indexOf(tag);
|
||||
if (index > -1) {
|
||||
if (index > -1 && !this.disabled) {
|
||||
this.value.splice(index, 1);
|
||||
}
|
||||
event.stopPropagation();
|
||||
|
|
Loading…
Reference in New Issue