[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-08-08 08:09:56 +00:00 committed by GitHub
parent e245fb7502
commit 2b4c2ae01c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -894,7 +894,7 @@ describe('KeepAlive', () => {
childCount++
})
return () => 'child'
}
},
})
const Parent = defineComponent({
setup() {
@ -902,14 +902,14 @@ describe('KeepAlive', () => {
parentCount++
})
return () => h(Child)
}
},
})
const AsyncComp = defineAsyncComponent(() => Promise.resolve(Parent))
const App = {
render: () => {
return h(KeepAlive, null, () => (toggle.value ? h(AsyncComp) : null))
}
},
}
render(h(App), root)