Browse Source

no message

DaMowang 3 years ago
parent
commit
3db271a31c
1 changed files with 2 additions and 3 deletions
  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: {