1
continuous-integration/drone/push Build is passing Details

uat_us
熊飞 2024-02-04 18:01:33 +08:00
commit 61993e331b
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,13 @@ router.beforeEach(async(to, from, next) => {
Vue.prototype.$path = []
if (hasToken) {
if (to.path === '/login' || to.path === '/recompose' || to.path === '/email-recompose' || to.path === '/error' || to.path === '/ReviewersResearchForm' || to.path === '/ReviewersResearch') {
if (to.path === '/ReviewersResearch') {
await this.$store.dispatch('user/logout')
OSSclient()
}
if (to.path === '/ReviewersResearchForm') {
OSSclient()
}
next()
NProgress.done()
} else {