<router-view v-slot="{ Component }">
<keep-alive include="center">
<component :is="Component" />
</keep-alive>
</router-view>
网友回复
<router-view v-slot="{ Component }">
<keep-alive include="center">
<component :is="Component" />
</keep-alive>
</router-view>
网友回复