fix: 修复博客文章目录渲染时机
This commit is contained in:
parent
3d85b91c57
commit
b320a553c8
@ -219,7 +219,7 @@ export default defineComponent({
|
||||
};
|
||||
|
||||
watch(
|
||||
[shouldShowPostCatalogTabs, () => currentArticle.value?.id],
|
||||
[shouldShowPostCatalogTabs, () => currentArticle.value?.id, () => currentArticle.value?.contentHtml, postContentRef],
|
||||
([hasCatalog]) => {
|
||||
resetSidebarTabForRoute(hasCatalog);
|
||||
rebuildArgonCatalog(hasCatalog);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user