root 3 лет назад
Родитель
Сommit
4293aa7c09
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/login/index.vue

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

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