+
95
-

回答

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

网友回复

我知道答案,我要回答