fix: 刷新报错

This commit is contained in:
unanmed 2024-04-19 20:57:24 +08:00
parent 4c5c741a54
commit 430e8b2f34

View File

@ -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();