Преглед на файлове

站点切换临时调整

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"));