Vue3 多路由指向同一组件 实现keep-alive缓存页面的解决 因为写了自制tab页面,需要实现关闭tab页面时清除缓存,切换tab页面时不清除缓存,新增和编辑复用了同一个页面 vue3写法路由: <router-view v-slot="{ Component }"> <div class="app_container"> <transition name="fade-transform" mode=