From 97d1d36d67c0cc29bd21c2575dd8a61a757adaa5 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 17 五月 2024 09:24:36 +0800
Subject: [PATCH] fix:文件上传删除问题

---
 src/router.js |   29 ++++++++++++++++++++---------
 1 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/src/router.js b/src/router.js
index 3648bfa..f6a77e5 100644
--- a/src/router.js
+++ b/src/router.js
@@ -26,7 +26,7 @@
   {
     path: '/',
     component: Layout,
-    redirect: '/dashboard',
+    redirect: '/login',
     children: [
       {
         path: 'dashboard',
@@ -72,10 +72,16 @@
         hidden: true
       },
       {
+        path: 'departmentExamine/list',
+        component: () => import('@/views/user/departmentExamine/list'),
+        name: 'departmentExamineList',
+        meta: { title: '璋冨姩瀹℃牳', noCache: true }
+      },
+      {
         path: 'tag/list',
         component: () => import('@/views/user/tag/list'),
         name: 'TagAdminPageList',
-        meta: { title: '鏍囩鍒楄〃', noCache: true }
+        meta: { title: '瀛︾敓鏍囩', noCache: true }
       },
       {
         path: 'tag/edit',
@@ -94,14 +100,19 @@
       title: '鍦ㄧ嚎瀛︿範',
       icon: 'exam'
     },
+    alwaysShow: true,
     children: [
       {
-        path: 'video/type',
-        component: () => import('@/views/onlineStudy/video/type'),
-        name: 'VideoType',
-        meta: {
-          title: '瑙嗛鍒嗙被'
-        }
+        path: 'type',
+        component: () => import('@/views/onlineStudy/type'),
+        name: 'Type',
+        meta: { title: '瀛︿範绫诲瀷', noCache: true }
+      },
+      {
+        path: 'file',
+        component: () => import('@/views/onlineStudy/file'),
+        name: 'File',
+        meta: { title: '瀛︿範鏂囦欢', noCache: true }
       }
     ]
   },
@@ -441,7 +452,7 @@
   {
     path: '/',
     component: Layout,
-    redirect: '/dashboard',
+    redirect: '/login',
     children: [
       {
         path: 'dashboard',

--
Gitblit v1.8.0