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

pull/3253/head
xiaofan 2 years ago
parent 479a320731
commit 850f18bd67

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

Loading…
Cancel
Save