<template>
<!-- 占位符 -->
<keep-alive> <router-view></router-view> </keep-alive>
</template> <script> export default {
name: 'MyApp',
} </script>
<style lang="less" scoped></style>