mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +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