Select: fix disabled multiple tag delete

pull/2007/head
Leopoldthecoder 2016-12-27 11:55:00 +08:00
parent 190211d4a9
commit 447dfe0d44
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@
deleteTag(event, tag) { deleteTag(event, tag) {
let index = this.selected.indexOf(tag); let index = this.selected.indexOf(tag);
if (index > -1) { if (index > -1 && !this.disabled) {
this.value.splice(index, 1); this.value.splice(index, 1);
} }
event.stopPropagation(); event.stopPropagation();