mirror of https://github.com/nuxt/nuxt.git
Merge e5b4e15110
into 73accb5ac1
This commit is contained in:
commit
4e78a050c6
|
@ -126,7 +126,7 @@ export default defineComponent({
|
|||
trackRootNodes: hasTransition,
|
||||
vnodeRef: pageRef,
|
||||
})
|
||||
if (import.meta.client && keepaliveConfig) {
|
||||
if (import.meta.client && keepaliveConfig && !(providerVNode.type as any).name) {
|
||||
(providerVNode.type as any).name = (routeProps.Component.type as any).name || (routeProps.Component.type as any).__name || 'RouteProvider'
|
||||
}
|
||||
return providerVNode
|
||||
|
|
Loading…
Reference in New Issue