总结
我在成长过程中也是一路摸爬滚打,没有任何人的指点,所以走的很艰难。例如在大三的时候,如果有个学长可以阶段性的指点一二,如果有已经工作的师兄可以告诉我工作上需要什么,我应该前面的三年可以缩短一半;后来去面试bat,失败了有5、6次,每次也不知道具体是什么原因,都是靠面试回忆去猜测可能是哪方面的问题,回来学习和完善,当你真正去招人的时候,你就会知道面试记录是多么重要,面试官可以从面试记录里看到你的成长,总是去面试,总是没有成长,就会被定义为缺乏潜力。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
文件目录:
功能展示:
路由配置:
{
path: ‘/account’,
component: ()=> import(‘…/components/home/home.vue’), //布局页面
redirect: ‘/account/all-account/list’, //定向到list路径
name: ‘账号管理’,
children: [
{
path: ‘/account/all-account/list’,
redirect: ‘/account/all-account/staff’, //定向到staff路径
name: ‘员工管理’,
component: () => import(‘…/components/view/account/index.vue’),
children: [
{
path: ‘/account/all-account/staff’,
component: () => import(‘…/components/view/account/account.vue’),
hidden: true
},
{
path: ‘/account/all-account/agent’,
name: ‘代理人账号’,
component: () => import(‘…/components/view/account/agent.vue’),
hidden: true
},
{
path: ‘/account/all-account/department’,
name: ‘部门设置’,
component: () => import(‘…/components/view/account/department.vue’),
hidden: true
},
{
path: ‘/account/all-account/role’,
name: ‘角色权限设置’,
component: () => import(‘…/components/view/account/role.vue’),
hidden: true
},
{
path: ‘/account/all-account/city’,
name: ‘城市管理’,
component: () => import(‘…/components/view/account/city.vue’),
hidden: true
},
]
},
}
组件代码:
index.vue
account.vue
<el-tabs v-model=“activeName” style=“height:100%;” @tab-click=“handleClick”>