Sfoglia il codice sorgente

站点切换临时调整

qymljy 8 mesi fa
parent
commit
3768cc2b0d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/components/newLayout/modules/header.vue

+ 2 - 2
src/components/newLayout/modules/header.vue

@@ -163,9 +163,9 @@ export default {
       });
       sessionStorage.setItem("active_account", JSON.stringify(item));
       await this.basicData.query_userauth(()=>{
-        this.$nextTick(() => {
+        setTimeout(() => {
         this.$router.go(0);
-        });
+        },1000);
       })
       this.siteInfos();
       this.accountInfo = JSON.parse(sessionStorage.getItem("active_account"));