|
@@ -163,17 +163,18 @@ const paths = [ // 有选中样式-路由列表
|
|
]
|
|
]
|
|
|
|
|
|
const navList = [
|
|
const navList = [
|
|
- {
|
|
|
|
- title: '直聘',
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- title: '门墩儿直聘',
|
|
|
|
- appList: [
|
|
|
|
- [{ title: '职位', path: paths[1] }, { title: '公司', path: paths[2] }]
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
|
|
+ // {
|
|
|
|
+ // title: '直聘',
|
|
|
|
+ // children: [
|
|
|
|
+ // {
|
|
|
|
+ // title: '门墩儿直聘',
|
|
|
|
+ // appList: [
|
|
|
|
+ // [{ title: '职位', path: paths[1] }, { title: '公司', path: paths[2] }]
|
|
|
|
+ // ]
|
|
|
|
+ // }
|
|
|
|
+ // ]
|
|
|
|
+ // },
|
|
|
|
+ { title: '直聘', path: '/recruitHome' },
|
|
{ title: '甄选', path: '/mall' },
|
|
{ title: '甄选', path: '/mall' },
|
|
{ title: '猎寻', path: '/headhunting' },
|
|
{ title: '猎寻', path: '/headhunting' },
|
|
{ title: '火苗儿' },
|
|
{ title: '火苗儿' },
|
|
@@ -184,7 +185,7 @@ const navList = [
|
|
|
|
|
|
const handleClick = (e, status) => {
|
|
const handleClick = (e, status) => {
|
|
if (!e.path) return
|
|
if (!e.path) return
|
|
- if (status) window.open(e.path)
|
|
|
|
|
|
+ if (status && e.path !== '/recruitHome') window.open(e.path)
|
|
else router.push(e.path)
|
|
else router.push(e.path)
|
|
}
|
|
}
|
|
|
|
|