Explorar o código

首页 - 设置数据不缓存

wangggziwen hai 8 meses
pai
achega
127f425c14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ruoyi-ui/src/router/index.js

+ 1 - 1
ruoyi-ui/src/router/index.js

@@ -70,7 +70,7 @@ export const constantRoutes = [
         path: 'index',
         component: () => import('@/views/index'),
         name: 'Index',
-        meta: { title: '首页', icon: 'dashboard', affix: true }
+        meta: { title: '首页', icon: 'dashboard', affix: true, keepAlive: false }
       }
     ]
   },