Skip to content

Commit 8d538cc

Browse files
committed
update router
1 parent f0cf85d commit 8d538cc

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

src/router/index.js

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@ const router = new Router({
1212
routes: initialRoutes
1313
});
1414

15-
16-
// const templateToComponent = {
17-
// "template-curd": () =>
18-
// import(/* webpackChunkName: "data-report" */ "../template/curd"),
19-
// "template-data-report": () =>
20-
// import(/* webpackChunkName: "curd" */ "../template/data-report"),
21-
// "template-audit": () =>
22-
// import(/* webpackChunkName: "audit" */ "../template/audit")
23-
// };
24-
2515
/**
2616
* Generate routes
2717
*
@@ -79,35 +69,3 @@ router.afterEach(() => {
7969
});
8070

8171
export default router;
82-
83-
// [
84-
// {
85-
// path: "/data",
86-
// redirect: "/data/general",
87-
// component: Main,
88-
// children: [
89-
// {
90-
// path: "/data/:pageId",
91-
// component: () =>
92-
// import(
93-
// /* webpackChunkName: "data-report" */ "../template/data-report"
94-
// )
95-
// }
96-
// ]
97-
// },
98-
// {
99-
// path: "/curd",
100-
// redirect: "/data/user",
101-
// component: () =>
102-
// import(
103-
// /* webpackChunkName: "data-report" */ "../components/layout/default/"
104-
// ),
105-
// children: [
106-
// {
107-
// path: "/curd/:pageId",
108-
// component: () =>
109-
// import(/* webpackChunkName: "curd" */ "../template/curd")
110-
// }
111-
// ]
112-
// }
113-
// ]

0 commit comments

Comments
 (0)