Compare commits
No commits in common. "b4b5f336b59c69840a58ea3b9bdf8010442785ca" and "8a10d5287d9f86bb66791cd553350a4496e8aacd" have entirely different histories.
b4b5f336b5
...
8a10d5287d
|
|
@ -23,13 +23,6 @@ router.beforeEach(async(to, from, next) => {
|
||||||
Vue.prototype.$path = []
|
Vue.prototype.$path = []
|
||||||
if (hasToken) {
|
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 === '/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()
|
next()
|
||||||
NProgress.done()
|
NProgress.done()
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue