src/router/index.js
@@ -78,7 +78,7 @@ component: () => import("@/views/student/index"), meta: { title: "学员列表", icon: "table" icon: "user" }, }, { @@ -115,7 +115,20 @@ component: () => import("@/views/order/index"), meta: { title: "学员订单", icon: "table" icon: "form" }, }, ], },{ path: "/", component: Layout, redirect: "/attendance", children: [{ path: "/attendance", name: "Attendance", component: () => import("@/views/attendance/index"), meta: { title: "学员考勤日报", icon: "dashboard" }, }, ], },