Browse Source

fix login

drew 6 years ago
parent
commit
7f70c9926f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/vue/src/views/Login.vue

+ 2 - 2
src/main/vue/src/views/Login.vue

@@ -153,7 +153,7 @@ export default {
                             this.loading = false;
                             this.$store.commit("updateUserInfo", res);
                             this.$router.replace({
-                                name: this.$route.params.name || "roomStatus"
+                                name: this.$route.params.name || "dashboard"
                             });
                         })
                         .catch(e => {
@@ -180,7 +180,7 @@ export default {
                             this.loading = false;
                             this.$store.commit("updateUserInfo", res);
                             this.$router.replace({
-                                name: this.$route.params.name || "roomStatus"
+                                name: this.$route.params.name || "dashboard"
                             });
                         })
                         .catch(e => {