xuqiang %!s(int64=4) %!d(string=hai) anos
pai
achega
676e34b654
Modificáronse 1 ficheiros con 6 adicións e 4 borrados
  1. 6 4
      src/main/pc-space/src/components/PageHeader.vue

+ 6 - 4
src/main/pc-space/src/components/PageHeader.vue

@@ -106,10 +106,12 @@ export default {
             this.Login();
         });
         this.getActive();
-        if (this.userInfo.authStatus !== 'NOT_AUTH') {
-            setTimeout(() => {
-                this.add();
-            }, 1000);
+        if (this.isLogin) {
+            if (this.userInfo.authStatus !== 'NOT_AUTH') {
+                setTimeout(() => {
+                    this.add();
+                }, 1000);
+            }
         }
     },
     methods: {