动态路由+keep-alive

/specs-and-compare/:carId
 
<keep-alive>
    <router-view :key="$route.fullPath" v-if="$route.meta.keepAlive" />
</keep-alive>
 
this.$router.push({
          path: "/specs-and-compare/" + carId
})
posted @ 2021-09-23 16:31  果果1024  阅读(195)  评论(0)    收藏  举报