Explorar el Código

首页 - 设置数据不缓存

wangggziwen hace 8 meses
padre
commit
127f425c14
Se han modificado 1 ficheros con 1 adiciones y 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 }
       }
     ]
   },