Browse Source

设置首页为联锁总表

yuhan 4 months ago
parent
commit
9072da1072
2 changed files with 8 additions and 3 deletions
  1. 3 1
      src/components/layouts/TabLayout.vue
  2. 5 2
      src/utils/util.js

+ 3 - 1
src/components/layouts/TabLayout.vue

@@ -47,7 +47,9 @@
   import { CACHE_INCLUDED_ROUTES } from '@/store/mutation-types'
   import registerApps from "@/qiankun";
 
-  const indexKey = '/dashboard/analysis'
+  // IoT TPM相关 修改框架
+  const indexKey = '/interLock/summary'
+  // const indexKey = '/dashboard/analysis'
 
   export default {
     name: 'TabLayout',

+ 5 - 2
src/utils/util.js

@@ -88,8 +88,11 @@ export function generateIndexRouter(data) {
     name: 'dashboard',
     //component: () => import('@/components/layouts/BasicLayout'),
     component: resolve => require(['@/components/layouts/TabLayout'], resolve),
-    meta: { title: '首页' },
-    redirect: '/dashboard/analysis',
+    // IoT TPM相关 修改框架
+    meta: { title: '联锁总表' },
+    redirect: '/interLock/summary',
+    // meta: { title: '首页' },
+    // redirect: '/dashboard/analysis',
     children: [
       ...generateChildRouters(data)
     ]