Kaynağa Gözat

Merge branch 'yuan' of panhui/lasuo_nft_front into dev

yuanyuan 3 yıl önce
ebeveyn
işleme
d9839b3e45
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 9 0
      src/views/account/Login.vue

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

@@ -152,6 +152,15 @@ export default {
                         this.$router.replace('/home');
                         this.$router.replace('/home');
                     } else {
                     } else {
                         this.$router.back();
                         this.$router.back();
+                        try{
+                            setTimeout(()=>{
+                                let path = window.location.hash.slice(1)
+                                this.$router.replace(path)
+                            },1)
+                            return false
+                        }catch(e){
+
+                        }
                     }
                     }
                 }, 1500);
                 }, 1500);
             });
             });