🐛 PDF 页签拖拽

This commit is contained in:
Vanessa 2023-10-28 21:26:43 +08:00
parent 43ca52f3b8
commit 5d2be98eab

View File

@ -534,7 +534,6 @@ export const updatePanelByEditor = (options: {
}
}
}
}
// 切换页签或关闭所有页签时,需更新对应的面板
const models = getAllModels();
updateOutline(models, options.protyle, options.reload);
@ -542,6 +541,7 @@ export const updatePanelByEditor = (options: {
options.protyle.app.plugins.forEach(item => {
item.eventBus.emit("switch-protyle", {protyle:options.protyle});
});
}
};
export const isCurrentEditor = (blockId: string) => {