From 46d10dd9feb1f76399b14ddb078299ed863e2b32 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 10 七月 2024 17:01:09 +0800
Subject: [PATCH] 阅卷页面不缓存

---
 src/router.js |   46 ++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/src/router.js b/src/router.js
index 3e87f6d..0059a0d 100644
--- a/src/router.js
+++ b/src/router.js
@@ -50,14 +50,21 @@
         path: '/exam/mark/paper',
         component: () => import('@/views/exam/exam/MarkPaper'),
         name: 'MarkPaper',
-        meta: { title: '闃呭嵎'},
+        meta: { title: '闃呭嵎', noCache: true },
         hidden: true
       },
       {
         path: '/exam/mark/paper/detail',
         component: () => import('@/views/exam/exam/MarkPaperDetail'),
         name: 'MarkPaperDetail',
-        meta: { title: '闃呭嵎'},
+        meta: { title: '闃呭嵎璇︽儏', noCache: true },
+        hidden: true
+      },
+      {
+        path: '/exam/monitor',
+        component: () => import('@/views/exam/exam/monitor'),
+        name: 'monitor',
+        meta: { title: '鐩戞帶', noCache: true },
         hidden: true
       }
     ]
@@ -138,6 +145,13 @@
         component: () => import('@/views/exam/paper/edit'),
         name: 'ExamPaperEdit',
         meta: { title: '璇曞嵎缂栬緫', noCache: true, activeMenu: '/exam/paper/list' },
+        hidden: true
+      },
+      {
+        path: 'paper/import',
+        component: () => import('@/views/exam/paper/import'),
+        name: 'ExamPaperImport',
+        meta: { title: '璇曞嵎瀵煎叆', noCache: true, activeMenu: '/exam/paper/list' },
         hidden: true
       },
       {
@@ -258,7 +272,13 @@
         component: () => import('@/views/education/resource/list'),
         name: 'EducationResourcePage',
         meta: { title: '鏁欏璧勬簮', noCache: true }
-      }
+      },
+      {
+        path: 'cheat/list',
+        component: () => import('@/views/education/cheat/list'),
+        name: 'EducationCheatPage',
+        meta: { title: '浣滃紛璁板綍', noCache: true }
+      },
     ]
   },
   {
@@ -293,6 +313,23 @@
       }
     ]
   },
+  {
+    path: '/config',
+    component: Layout,
+    children: [
+      {
+        path: '/setting',
+        name: 'SysSetting',
+        meta: {
+          title: '绯荤粺閰嶇疆',
+          icon: 'answer',
+          affix: true
+        },
+        component: () => import('@/views/sys/SysSetting')
+      },
+    ]
+  },
+
   // {
   //   path: '/message',
   //   component: Layout,
@@ -348,7 +385,8 @@
       }
     ]
   },
-  { path: '*',
+  {
+    path: '*',
     hidden: true,
     component: () => import('@/views/error-page/404'),
     meta: { title: '404', noCache: true }

--
Gitblit v1.8.0