mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 04:08:10 +08:00
Select: fix disabled multiple tag delete
This commit is contained in:
parent
190211d4a9
commit
447dfe0d44
@ -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
Block a user