mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix(nuxt): deeply watch island props (#24986)
This commit is contained in:
parent
4d40e2e996
commit
219d1cd219
@ -234,7 +234,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (import.meta.client) {
|
if (import.meta.client) {
|
||||||
watch(props, debounce(() => fetchComponent(), 100))
|
watch(props, debounce(() => fetchComponent(), 100), { deep: true })
|
||||||
}
|
}
|
||||||
|
|
||||||
if (import.meta.client && !nuxtApp.isHydrating && props.lazy) {
|
if (import.meta.client && !nuxtApp.isHydrating && props.lazy) {
|
||||||
|
Loading…
Reference in New Issue
Block a user