fix: 修复不断登录的问题

This commit is contained in:
ibuler
2020-06-01 15:22:10 +08:00
parent 191ef09d61
commit 22ef377097
5 changed files with 22 additions and 36 deletions

View File

@@ -65,7 +65,7 @@ export default {
window.location.href = `/`
break
case 'logout':
window.location.href = `/core/auth/logout/?next=${this.$route.fullPath}`
window.location.href = `${process.env.VUE_APP_LOGOUT_PATH}?next=${this.$route.fullPath}`
break
case 'apiKey':
this.$refs.api.showApi()