讲师列表的前端实现 (1)添加前端路由 { path: '/teacher', component: Layout, redirect: '/teacher/table', //在页面中访问'/teacher'会被重定向到'/teacher/table' name: '讲师管理', meta: { title: '讲师管理', icon: 'example' }, children: [ { path: 'table', name: '讲师列表', component: () =&...