mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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
|
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