mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
fix: App not redirecting to login page (#1008)
This commit is contained in:
parent
ef546cb96c
commit
cd1e77b0c2
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ export default {
|
|||
return
|
||||
}
|
||||
|
||||
// this.$store.commit('LOGIN', false)
|
||||
// if (!this.onLoginPage) return this.$router.push({ name: 'login', query: { redirect: this.$route.fullPath } })
|
||||
this.$store.commit('LOGIN', false)
|
||||
if (!this.onLoginPage) return this.$router.push({ name: 'login', query: { redirect: this.$route.fullPath } })
|
||||
},
|
||||
blockContextMenu() {
|
||||
document.addEventListener('contextmenu', event => {
|
||||
|
|
Loading…
Add table
Reference in a new issue