mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-19 17:16:08 +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) {
|
||||
if (reopen) {
|
||||
if (reopen && this.showIds.length > 0) {
|
||||
this.closeAll();
|
||||
nextTick(() => {
|
||||
this.show();
|
||||
|
Loading…
Reference in New Issue
Block a user