Compare commits

...

2 Commits

Author SHA1 Message Date
caiyiling b4b5f336b5 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details
2024-02-02 17:35:20 +08:00
caiyiling d9e32fffe4 解决医生附件上传问题 2024-02-02 17:34:45 +08:00
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 {