瀏覽代碼

perf: 缓存首页

xingyu 2 年之前
父節點
當前提交
ec0bb01e07
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      yudao-ui-admin-vue3/src/router/modules/remaining.ts

+ 1 - 1
yudao-ui-admin-vue3/src/router/modules/remaining.ts

@@ -64,7 +64,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
         meta: {
           title: t('router.home'),
           icon: 'ep:home-filled',
-          noCache: true,
+          noCache: false,
           affix: true
         }
       }