소스 검색

站点切换临时调整

qymljy 9 달 전
부모
커밋
3768cc2b0d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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"));