This commit is contained in:
lesion
2021-10-18 15:45:16 +02:00
parent 18dc1cb15c
commit 858d6b31c8
3 changed files with 3 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ export default {
},
methods: {
next () {
window.location='/'
window.location='/admin'
},
async start (user) {
this.user = { ...user }
@@ -29,7 +29,6 @@ export default {
try {
await this.$axios.$get('/ping')
// window.location='/'
this.loading = false
} catch (e) {
setTimeout(() => this.start(user), 1000)