Преглед на файлове

隐藏企业登录后招聘会广告弹窗

Xiao_123 преди 2 месеца
родител
ревизия
4a212e21d5
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/permission.js

+ 4 - 4
src/permission.js

@@ -87,10 +87,10 @@ router.beforeEach(async (to, from, next) => {
         // 强制修改密码
         if (localStorage.getItem('entUpdatePassword') === 'needChange') fullScreen('entUpdatePassword')
         // 企业登录-招聘会广告
-        else if (hasRoute('/recruit/enterprise/jobFair/index') && !localStorage.getItem('jobFairAd') && tokenIndex === 1) {
-          localStorage.setItem('jobFairAd', 'hasBeenShow')
-          dialogExtend('jobFairAd')
-        }
+        // else if (hasRoute('/recruit/enterprise/jobFair/index') && !localStorage.getItem('jobFairAd') && tokenIndex === 1) {
+        //   localStorage.setItem('jobFairAd', 'hasBeenShow')
+        //   dialogExtend('jobFairAd')
+        // }
         // 企业登录-免费职位广告提示
         else if (hasRoute('/recruit/enterprise/position/index') && localStorage.getItem('positionAd') && tokenIndex === 1) {
           localStorage.setItem('positionAd', '')