浏览代码

站点切换临时调整

qymljy 8 月之前
父节点
当前提交
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"));