mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 15:50:32 +00:00
chore: fix network comp display
This commit is contained in:
parent
ee7d8fa20e
commit
b9e7354241
@ -86,7 +86,9 @@ export const createLazyNetworkClientPage = (componentLoader: Component) => {
|
||||
idleHandle = null
|
||||
}
|
||||
})
|
||||
return () => isIdle.value ? h(componentLoader, attrs) : (instance.vnode.el && nuxt.isHydrating) ? createVNode(createStaticVNode(getFragmentHTML(instance.vnode.el ?? null, true)?.join('') || '', 1)) : null
|
||||
return () => h('div', {}, [
|
||||
isIdle.value ? h(componentLoader, attrs) : (instance.vnode.el && nuxt.isHydrating) ? createVNode(createStaticVNode(getFragmentHTML(instance.vnode.el ?? null, true)?.join('') || '', 1)) : null
|
||||
])
|
||||
},
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user