lifanagju_citu 7 月之前
父节点
当前提交
d99aac1f92
共有 1 个文件被更改,包括 13 次插入12 次删除
  1. 13 12
      src/layout/personal/navBar.vue

+ 13 - 12
src/layout/personal/navBar.vue

@@ -163,17 +163,18 @@ const paths = [ // 有选中样式-路由列表
 ]
 
 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: '/headhunting' },
   { title: '火苗儿' },
@@ -184,7 +185,7 @@ const navList = [
 
 const handleClick = (e, status) => {
   if (!e.path) return
-  if (status) window.open(e.path)
+  if (status && e.path !== '/recruitHome') window.open(e.path)
   else router.push(e.path)
 }