From 4eb9c2ff8594405247194500a9d58c1d41262eee Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 28 Jun 2024 15:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E9=94=81=E5=AE=9A=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.js b/src/main.js index 1dcf8471..aff45d5b 100644 --- a/src/main.js +++ b/src/main.js @@ -366,7 +366,7 @@ async function VueInit() { // eval(process.env.VUE_APP_LOCK_FOR_PERMISSION) // process.env.VUE_APP_LOCK_FOR_TIME window.VUE_APP_COMPANY_NAME = process.env.VUE_APP_COMPANY_NAME; - waitOperate(true ? () => { + waitOperate(eval(process.env.VUE_APP_LOGOUT_FOR_PERMISSION) ? () => { var lang = zzSessionStorage.getItem('lang') ? zzSessionStorage.getItem('lang') : 'zh' if (_vm.$route.path === '/ReviewersResearchForm' || _vm.$route.path === '/ReviewersResearch' || _vm.$route.path === '/login' || _vm.$route.path === '/researchForm' || _vm.$route.path === '/researchLogin' || _vm.$route.path === '/email-recompose' || _vm.$route.path === '/recompose' || _vm.$route.path === '/resetpassword' || _vm.$route.path === '/error') { count = 0; @@ -395,8 +395,8 @@ async function VueInit() { }) }) - } : () => { }, 20, - true ? () => { + } : () => { }, process.env.VUE_APP_LOGOUT_FOR_TIME, + eval(process.env.VUE_APP_LOCK_FOR_PERMISSION) ? () => { var lang = zzSessionStorage.getItem('lang') ? zzSessionStorage.getItem('lang') : 'zh' if (_vm.$route.path === '/ReviewersResearchForm' || _vm.$route.path === '/ReviewersResearch' || _vm.$route.path === '/login' || _vm.$route.path === '/researchForm' || _vm.$route.path === '/researchLogin' || _vm.$route.path === '/email-recompose' || _vm.$route.path === '/recompose' || _vm.$route.path === '/resetpassword' || _vm.$route.path === '/error') { count = 0; @@ -526,7 +526,7 @@ async function VueInit() { ]) ]) }) - } : () => { }, 10) + } : () => { }, process.env.VUE_APP_LOCK_FOR_TIME) } VueInit()