Fix a issue of add button

This commit is contained in:
ZaneYork 2020-10-23 14:28:35 +08:00
parent f6975b4fec
commit 5edc75069b
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@
} }
target.push(newButton); target.push(newButton);
this.currentButton = newButton; this.currentButton = newButton;
this.currentButtonId = newButton.id;
}, },
onRemoveButton: function () { onRemoveButton: function () {
let list = this.config.buttons; let list = this.config.buttons;