瀏覽代碼

fix login

drew 6 年之前
父節點
當前提交
7f70c9926f
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 => {