提交 ed498511 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

修复了子路由模式下两个keepalive相互切换 keepalive失效的问题

上级 4cc0f471
<template>
<router-view></router-view>
<div>
<keep-alive>
<router-view v-if="$route.meta.keepAlive"></router-view>
</keep-alive>
<router-view v-if="!$route.meta.keepAlive"></router-view>
</div>
</template>
<script>
export default {
name:"System",
}
name: "System",
};
</script>
<style lang="scss">
</style>
\ No newline at end of file
<style lang="scss"></style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册