const routes = [ { path: "/pages/login/login", name: 'login', meta: { title: '登录', }, }, { //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦 path: '/pages/index/index', name: 'index', meta: { title: '主页', }, }, { //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦 path: '/pages/home/home', //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/ name: 'home', meta: { title: '首页', }, }, { path: '/pages/user/people', name: 'people', meta: { title: '个人中心', }, }, { path: '/pages/user/userdetail', name: 'userdetail', meta: { title: '个人详情', }, }, { path: '/pages/user/useredit', name: 'useredit', meta: { title: '个人编辑', }, }, { path: '/pages/component/form', name: 'form', meta: { title: '个人编辑', }, }, { path: '/pages/user/userexit', name: 'userexit', meta: { title: '退出', }, }, { path: '/pages/user/userdt', name: 'userdt', meta: { title: '地图', }, }, { path: '/pages/common/exit', name: 'exit', meta: { title: '退出', }, }, { path: '/pages/common/success', name: 'success', meta: { title: 'success', }, }, { path: '/pages/sign/usersign', name: 'usersign', meta: { title: '考勤', }, }, { path: '/pages/sign/leave', name: 'leave', meta: { title: '请假申请', }, }, { path: '/pages/sign/leaves', name: 'leaves', meta: { title: '请假申请', }, }, { path: '/pages/wages/wages', name: 'wages', meta: { title: '薪资单', }, }, { path: '/pages/wages/wagesdetail', name: 'wagesdetail', meta: { title: '个人薪资界面', }, }, { path: '/pages/wages/wagesdetail2', name: 'wagesdetail2', meta: { title: '人事部门的薪资跳转页面', }, }, { path: '/pages/wages/wagesdetails2', name: 'wagesdetails2', meta: { title: '人事部门的薪资详情跳转页面', }, }, { path: '/pages/wages/wagesuser', name: 'wagesuser', meta: { title: '人事部门进入工资界面', }, }, { path: '/pages/wages/wagesdetails', name: 'wagesdetails', meta: { title: '薪资单详情', }, }, { path: '/pages/team/teams', name: 'teams', meta: { title: '团队', }, }, { path: '/pages/team/teames', name: 'teames', meta: { title: '团队', }, }, { path: '/pages/team/teamusersign', name: 'teamusersign', meta: { title: '团队', }, }, { path: '/pages/team/teamusersign2', name: 'teamusersign2', meta: { title: '团队', }, }, { path: '/pages/team/usercore', name: 'personaldetail', meta: { title: '团队', }, }, { path: '/pages/team/personaldetail', name: 'peruser', meta: { title: '团队', }, }, { path: '/pages/user/userpwd', name: 'userpwd', meta: { title: '修改密码', }, }, { path: '/pages/user/suecss', name: 'suecss', meta: { title: '修改密码', }, }, { path: '/pages/organization/leaveorgz', name: 'leaveorgz', meta: { title: '考勤组织', }, }, { path: '/pages/organization/orgz', name: 'orgz', meta: { title: '考勤组织', }, }, { path: '/pages/organization/wagsorgz', name: 'wagsorgz', meta: { title: '薪资组织', }, }, { path: '/pages/sign/userwork', name: 'userwork', meta: { title: '薪资组织', }, }, { path: '/pages/organization/workorgz', name: 'workorgz', meta: { title: '排班组织', }, }, { path: '/pages/team/teamuser', name: 'teamuser', meta: { title: '组织', }, }, { path: '/pages/team/teamuser2', name: 'teamuser2', meta: { title: '组织', }, }, { path: '/pages/sign/empsign', name: 'empsign', meta: { title: '组织', }, }, { path: '/pages/sign/leaveemp', name: 'leaveemp', meta: { title: '组织', }, }, { path: '/pages/sign/empusersign', name: 'empusersign', meta: { title: '组织', }, }, { path: '/components/my-componets/my-image-upload', name: 'upload', meta: { title: '组织', }, }, { path: '/pages/wages/dome', name: 'dome', meta: { title: '组织', }, } ] export default routes