Sfoglia il codice sorgente

设置首页为联锁总表

yuhan 4 mesi fa
parent
commit
9072da1072
2 ha cambiato i file con 8 aggiunte e 3 eliminazioni
  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)
     ]