Explorar o código

Merge branch 'yuan' of panhui/lasuo_nft_front into master

yuanyuan %!s(int64=3) %!d(string=hai) anos
pai
achega
4773e286e2
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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');
                     } else {
                         this.$router.back();
+                        try{
+                            setTimeout(()=>{
+                                let path = window.location.hash.slice(1)
+                                this.$router.replace(path)
+                            },1)
+                            return false
+                        }catch(e){
+
+                        }
                     }
                 }, 1500);
             });