Compare commits
2 Commits
8a10d5287d
...
b4b5f336b5
Author | SHA1 | Date |
---|---|---|
|
b4b5f336b5 | |
|
d9e32fffe4 |
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue