Pārlūkot izejas kodu

enterpriseVerification不能重定向,用于切换企业登录拦截

lifanagju_citu 8 mēneši atpakaļ
vecāks
revīzija
3c91b69d29
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 8 0
      src/router/modules/components/recruit/enterprise.js

+ 8 - 0
src/router/modules/components/recruit/enterprise.js

@@ -7,6 +7,14 @@ const enterprise = [
     show: true,
     redirect: '/recruit/enterprise',
   },
+  // { 不能重定向,用于切换企业登录拦截
+  //   path: '/enterpriseVerification', // 切换企业后先校验是否具备必填信息
+  //   show: true,
+  //   meta: {
+  //     loginType: 'enterprise'
+  //   }
+  //   // redirect: '/enterprise',
+  // },
   {
     path: '/recruit/enterprise',
     show: true,