瀏覽代碼

系统管理首页去掉

liuQiang 1 年之前
父節點
當前提交
507274519f
共有 2 個文件被更改,包括 12 次插入11 次删除
  1. 1 1
      src/layout/indexCommon.vue
  2. 11 10
      src/router/index.js

+ 1 - 1
src/layout/indexCommon.vue

@@ -499,7 +499,7 @@ if (hasRole) {
   menuList.data.push(
     {
       label: "系统管理",
-      path: "/admin",
+      path: "/biz/dirTemplate",
       imgs: system,
       beimgs: issystem,
     }

+ 11 - 10
src/router/index.js

@@ -319,17 +319,18 @@ export const constantRoutes = [{
 	path: '/admin',
 	component: Layout,
 	redirect: '/admin/index',
-	children: [{
-		path: 'index',
-		// component: () => import('@/layout/index.vue'),
-		name: 'adminIndex',
-		meta: {
-			title: '首页',
-			icon: 'dashboard',
-			affix: true
-		},
+	children: [
+		// {
+		// path: 'index',
+		// // component: () => import('@/layout/index.vue'),
+		// name: 'adminIndex',
+		// meta: {
+		// 	title: '首页',
+		// 	icon: 'dashboard',
+		// 	affix: true
+		// },
 
-	},
+	// },
 	// 其他 admin 下的子路由
 	{
 		path: '/onlyoffice/',