|
@@ -22,7 +22,10 @@ export const WHITE_LIST = ['/login', '/forget'];
|
|
|
|
|
|
|
|
// 开启 KeepAlive 后仍然不需要缓存的路由地址
|
|
// 开启 KeepAlive 后仍然不需要缓存的路由地址
|
|
|
export const KEEP_ALIVE_EXCLUDES = [];
|
|
export const KEEP_ALIVE_EXCLUDES = [];
|
|
|
-
|
|
|
|
|
|
|
+// 开启 KeepAlive 后需要缓存的路由地址
|
|
|
|
|
+export const KEEP_ALIVE_INCLUDE = [
|
|
|
|
|
+ 'equipmentIndex'
|
|
|
|
|
+];
|
|
|
// 直接指定菜单数据
|
|
// 直接指定菜单数据
|
|
|
export const USER_MENUS = undefined;
|
|
export const USER_MENUS = undefined;
|
|
|
// [
|
|
// [
|