Fix the bug of remove button
This commit is contained in:
parent
3ee9624d54
commit
75ee0f632b
|
@ -446,8 +446,10 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
if (index >= 0)
|
||||
if (index >= 0){
|
||||
list.splice(index, 1);
|
||||
this.currentButtonId = null;
|
||||
}
|
||||
},
|
||||
firstNotEmpty: function (alias, key) {
|
||||
return this.isEmpty(alias) ? key : alias;
|
||||
|
|
Loading…
Reference in New Issue