@@ -10,7 +10,7 @@ export default new Router({
{
path: '/',
name: 'Layout',
- redirect: '/home',
+ redirect: '/login',
component: Layout,
children: [
@@ -122,7 +122,7 @@ export default {
// this.$store
// .dispatch("user/login", this.loginForm)
// .then(() => {
- this.$router.push({ path: this.redirect || "/" });
+ this.$router.push({ path: this.redirect || "/home" });
this.loading = false;
// })
// .catch(() => {