Browse Source

route报错修复

Koishi 3 years ago
parent
commit
f54fd95308
1 changed files with 11 additions and 11 deletions
  1. 11 11
      src/router/index.js

+ 11 - 11
src/router/index.js

@@ -780,40 +780,40 @@ const routes = [{
 	path: "/bjgltjb",
 	name: "bjgltjb",
 	component: () =>
-		import( /* webpackChunkName: "bjgltjb" */ "../views/report/bjgltjb.vue"),
+		import( /* webpackChunkName: "bjgltjb" */ "../views/report/bjgltjb.vue"),
 },
 {
 	path: "/xzycfsdl",
 	name: "xzycfsdl",
 	component: () =>
-		import( /* webpackChunkName: "xzycfsdl" */ "../views/report/xzycfsdl.vue"),
+		import( /* webpackChunkName: "xzycfsdl" */ "../views/report/xzycfsdl.vue"),
 },
 {
 	path: "/nhycfsdl",
 	name: "nhycfsdl",
 	component: () =>
-		import( /* webpackChunkName: "nhycfsdl" */ "../views/report/nhycfsdl.vue"),
+		import( /* webpackChunkName: "nhycfsdl" */ "../views/report/nhycfsdl.vue"),
 }, {
-	path: "/globalMonitor", // 全局监视
+	path: "/globalMonitor", // 全局监视
 	name: "globalMonitor",
 	component: () =>
-		import( /* webpackChunkName: "globalMonitor" */ "../views/globalMonitor/index.vue"),
+		import( /* webpackChunkName: "globalMonitor" */ "../views/globalMonitor/index.vue"),
 },
 {
-	path: "/reportPandect", // 报表总览
+	path: "/reportPandect", // 报表总览
 	name: "reportPandect",
 	component: () =>
-		import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue"),
+		import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue"),
 },
 ]
 const router = createRouter({
 	history: createWebHashHistory(),
 	base: '/zhfx/',
 	routes
-})
+});
 
 router.beforeEach((to, from, next) => {
-	next()
-})
+	next();
+});
 
-export default router
+export default router;