mirror of https://github.com/louislam/uptime-kuma
commit
850563442a
|
@ -85,7 +85,12 @@ export default {
|
||||||
this.$root.toastRes(res)
|
this.$root.toastRes(res)
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
this.processing = true;
|
||||||
|
|
||||||
|
this.$root.login(this.username, this.password, (res) => {
|
||||||
|
this.processing = false;
|
||||||
this.$router.push("/")
|
this.$router.push("/")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue