|
|
@@ -2,6 +2,7 @@ import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router' |
|
|
|
import Cookies from 'js-cookie' |
|
|
|
|
|
|
|
const routes: RouteRecordRaw[] = [ |
|
|
|
|
|
|
|
{ |
|
|
|
path: '/', |
|
|
|
name: 'Login', |
|
|
@@ -28,7 +29,7 @@ const routes: RouteRecordRaw[] = [ |
|
|
|
components: { |
|
|
|
key: () => import('@/views/system/menu/index.vue'), |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/views/dengmingcong/index', |
|
|
|
name: 'home1', |
|
|
@@ -100,10 +101,24 @@ const routes: RouteRecordRaw[] = [ |
|
|
|
components: { |
|
|
|
key: () => import('@/views/fancongcong/corporateaccountManage/corporateaccountManage.vue'), |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/views/shengbo/blacklistQuery/blacklistQuery', |
|
|
|
name: 'blacklistQuery', |
|
|
|
meta: { title: '菜单模块', isAuth: true }, //黑名单查询服务 |
|
|
|
components: { |
|
|
|
key: () => import('@/views/shengbo/blacklistQuery/blacklistQuery.vue'), |
|
|
|
}, |
|
|
|
}, { |
|
|
|
path: '/views/shengbo/trafficFlow/trafficFlow', |
|
|
|
name: 'trafficFlow', |
|
|
|
meta: { title: '菜单模块', isAuth: true }, //通行流水查询服务 |
|
|
|
components: { |
|
|
|
key: () => import('@/views/shengbo/trafficFlow/trafficFlow.vue'), |
|
|
|
}, |
|
|
|
} |
|
|
|
], |
|
|
|
} |
|
|
|
] |
|
|
|
|
|
|
|
const router = createRouter({ |
|
|
|
history: createWebHashHistory(), //createWebHistory createWebHashHistory(带#号) 路由模式 |