1、添加keep-alive
2、在路由中添加缓存字段
path:'XXx', name:'XXXX', component: () => import('.XXX'), meta: { title:'XXX', keepAlive: true }
京公网安备 11010502049817号