fix(cli): demo keep-alive not work (#11436)

This commit is contained in:
neverland 2022-12-31 10:03:44 +08:00 committed by GitHub
parent 1eea4fcd53
commit 670efb16f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
<template>
<demo-nav />
<router-view v-slot="{ Component }">
<keep-alive>
<demo-section>
<demo-section>
<keep-alive>
<component :is="Component" />
</demo-section>
</keep-alive>
</keep-alive>
</demo-section>
</router-view>
</template>