fix(theme): run contentUpdatedCallbacks when <Content> component unmounted

pull/3252/head
xiaofan 2 years ago
parent 479a320731
commit 5eb48cd958

@ -20,7 +20,8 @@ export const Content = defineComponent({
route.component route.component
? h(route.component, { ? h(route.component, {
onVnodeMounted: runCbs, onVnodeMounted: runCbs,
onVnodeUpdated: runCbs onVnodeUpdated: runCbs,
onVnodeUnmounted: runCbs
}) })
: '404 Page Not Found' : '404 Page Not Found'
] ]

Loading…
Cancel
Save