Q-ABAB 2 anni fa
parent
commit
9d4fb309b3
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/App.vue

+ 2 - 1
src/App.vue

@@ -41,7 +41,8 @@ export default {
     }
   },
   mounted(){
-    this.userLogin();
+
+    if(getToken())this.userLogin();
     window.addEventListener('beforeunload', this.CleanStorage());
   },
   beforeDestroy(){