Closed wushangshang closed 1 year ago
解决了,缓存原因。 router 的 index.js里这边noCache改为 true { path: '', component: Layout, redirect: '/index', children: [ { path: '/index', component: () => import('@/views/index'), name: 'Index', meta: { noCache: true,title: 'home page', icon: 'dashboard', affix: true } } ] },
经过多次实验,是 多个 tab 之间点击时候切换到首页 tab,这时候就会出现页面无响应,我是 yarn dev 时候出现的,这时候也完全没有报错,不知道生产情况会不会这样