Browse Source

站点切换临时调整

qymljy 8 months ago
parent
commit
3768cc2b0d
1 changed files with 2 additions and 2 deletions
  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"));