DaMowang %!s(int64=3) %!d(string=hai) anos
pai
achega
3db271a31c
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      src/pages/my/index.vue

+ 2 - 3
src/pages/my/index.vue

@@ -421,11 +421,10 @@ export default {
     }
   },
   onShow: function () {
-    this.login();
-
+    
     let token = uni.getStorageSync('token');
     if (!token) {
-      // this.login();
+      this.login();
     }
   },
   methods: {