Browse Source

Merge branch 'yuan' of panhui/lasuo_nft_front into master

yuanyuan 3 years ago
parent
commit
4dc3705739
3 changed files with 2 additions and 1 deletions
  1. 1 0
      src/views/Home.vue
  2. 1 0
      src/views/Mine.vue
  3. 0 1
      src/views/account/Login.vue

+ 1 - 0
src/views/Home.vue

@@ -316,6 +316,7 @@ export default {
         let that = this;
         // that.getList();
         that.getBanner();
+        location.reload()
         // that.getUser();
     },
     activated() {

+ 1 - 0
src/views/Mine.vue

@@ -209,6 +209,7 @@ export default {
         };
     },
     mounted() {
+        location.reload()
         this.$store.dispatch('getUserInfo');
         if (this.isLogin) {
             this.$http

+ 0 - 1
src/views/account/Login.vue

@@ -139,7 +139,6 @@ export default {
             });
             this.check().then(() => {
                 this.$toast.success('登录成功');
-                location.reload()
                 setTimeout(() => {
                     if (this.$store.state.loginBackUrl) {
                         this.$router.replace(this.$store.state.loginBackUrl);