fix(client): run contentUpdatedCallbacks when Content is unmounted (#3253)

pull/3265/head
xiaofan 1 year ago committed by GitHub
parent 525c442976
commit b86ac8f3c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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