Ver Fonte

首页 - 设置数据不缓存

wangggziwen há 8 meses atrás
pai
commit
127f425c14
1 ficheiros alterados com 1 adições e 1 exclusões
  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 }
       }
     ]
   },