|
|
|
@ -7,8 +7,8 @@ import { |
|
|
|
let routes = [ |
|
|
|
{ |
|
|
|
path: "/", |
|
|
|
redirect: "/home", |
|
|
|
// redirect: "/enforceHome",
|
|
|
|
// redirect: "/home",
|
|
|
|
redirect: "/enforceHome", |
|
|
|
// redirect: "/login",
|
|
|
|
name: "App", |
|
|
|
}, |
|
|
|
@ -22,10 +22,10 @@ let routes = [ |
|
|
|
routes = $globalRouterModules(routes); // 加载模块路由
|
|
|
|
|
|
|
|
const $globalRouter = createRouter({ |
|
|
|
// 企业端u
|
|
|
|
history: createWebHashHistory(), |
|
|
|
// 企业端
|
|
|
|
// history: createWebHashHistory(),
|
|
|
|
// 执法端
|
|
|
|
// history: createWebHistory(),
|
|
|
|
history: createWebHistory(), |
|
|
|
routes, |
|
|
|
}); |
|
|
|
|
|
|
|
|