Commit d11b8169 authored by amandazk's avatar amandazk

Redirecionamento botao login

parent eb5c0811
......@@ -56,7 +56,7 @@ export default {
async submit() {
try {
await this.login(this.user);
// this.$router.push( { path: '/' })
window.location.reload( this.$router.push( { path: '/' }));
} catch (error) {
alert('erro no login')
console.log("Erro de Login: ", error);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment