tangning 8 mesi fa
parent
commit
827a0a817c

+ 2 - 2
index.html

@@ -9,8 +9,8 @@
       content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
     />
     <title><%= title %></title>
-    <!-- <link rel="icon" href="/favicon.ico" /> -->
-    <link rel="apple-touch-icon" sizes="180x180" href="//4dkk.4dage.com/FDKKIMG/icon/kankan_icon180.png">
+    <link rel="icon" href="./favicon.ico" />
+    <!-- <link rel="apple-touch-icon" sizes="180x180" href="//4dkk.4dage.com/FDKKIMG/icon/kankan_icon180.png"> -->
   </head>
 
   <body>

BIN
public/favicon.ico


+ 1 - 13
src/router/routes/bf/dashboard.ts

@@ -4,27 +4,15 @@ import { LAYOUT } from '/@/router/constant';
 import { t } from '/@/hooks/web/useI18n';
 
 const dashboard: AppRouteModule = {
-  path: '/dashboard',
+  path: '/dashboard/home',
   name: 'Dashboard',
   component: LAYOUT,
-  redirect: '/dashboard/home',
   meta: {
     orderNo: 10,
     icon: 'ion:grid-outline',
     title: '案件管理',
     hideChildrenInMenu: true,
   },
-  children: [
-    {
-      path: 'home',
-      name: 'Home',
-      component: () => import('/@/views/case/list.vue'),
-      meta: {
-        // affix: true,
-        title: t('routes.account.home'),
-      },
-    },
-  ],
 };
 
 export default dashboard;

+ 1 - 13
src/router/routes/modules/dashboard.ts

@@ -4,27 +4,15 @@ import { LAYOUT } from '/@/router/constant';
 import { t } from '/@/hooks/web/useI18n';
 
 const dashboard: AppRouteModule = {
-  path: '/dashboard',
+  path: '/dashboard/home',
   name: 'Dashboard',
   component: LAYOUT,
-  redirect: '/dashboard/home',
   meta: {
     orderNo: 10,
     icon: 'ion:grid-outline',
     title: t('routes.account.home'),
     hideChildrenInMenu: true,
   },
-  children: [
-    {
-      path: 'home',
-      name: 'Home',
-      component: () => import('/@/views/case/list.vue'),
-      meta: {
-        // affix: true,
-        title: t('routes.account.home'),
-      },
-    },
-  ],
 };
 
 export default dashboard;