root 3 lat temu
rodzic
commit
4293aa7c09
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/login/index.vue

+ 1 - 1
src/views/login/index.vue

@@ -199,9 +199,9 @@ export default {
             .then(() => {
                 return this.$store.dispatch('user/getUserInfo', {})
             }).then(() => {
-                this.loading = false
                 return this.$store.dispatch('user/getBaseInfo', {})
             }).then(() => {
+              this.loading = false
               this.$router.push({ path: this.redirect || '/', query: this.otherQuery })
             }).catch(error => {
               this.refreshLoginVerifyStatus();