mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-08 16:27:58 +08:00
fix: 刷新报错
This commit is contained in:
parent
4c5c741a54
commit
430e8b2f34
@ -197,7 +197,7 @@ export class CustomToolbar extends EventEmitter<CustomToolbarEvent> {
|
|||||||
* 强制刷新这个自定义工具栏的所有显示
|
* 强制刷新这个自定义工具栏的所有显示
|
||||||
*/
|
*/
|
||||||
refresh(reopen: boolean = false) {
|
refresh(reopen: boolean = false) {
|
||||||
if (reopen) {
|
if (reopen && this.showIds.length > 0) {
|
||||||
this.closeAll();
|
this.closeAll();
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
this.show();
|
this.show();
|
||||||
|
Loading…
Reference in New Issue
Block a user