Browse Source

1

release/epdc
tianq 2 years ago
parent
commit
8d1fa24604
  1. 4
      src/views/pages/login.vue

4
src/views/pages/login.vue

@ -158,10 +158,10 @@ export default {
return this.$message.error(res.msg);
}
Cookies.set('token', res.data.token);
this.checkLocakStorage();
this.$router.replace({ name: 'home' });
// // localStorage
this.checkLocakStorage();
})
.catch(() => {});
},

Loading…
Cancel
Save