diff --git a/src/core/main/custom/toolbar.ts b/src/core/main/custom/toolbar.ts index abdfa94..38b7a82 100644 --- a/src/core/main/custom/toolbar.ts +++ b/src/core/main/custom/toolbar.ts @@ -197,7 +197,7 @@ export class CustomToolbar extends EventEmitter { * 强制刷新这个自定义工具栏的所有显示 */ refresh(reopen: boolean = false) { - if (reopen) { + if (reopen && this.showIds.length > 0) { this.closeAll(); nextTick(() => { this.show();