jinx пре 4 година
родитељ
комит
c804b6c916
1 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 2
      apps/agent/pages/index/index.js

+ 5 - 2
apps/agent/pages/index/index.js

@@ -322,8 +322,12 @@ Page({
         })
         })
 
 
 
 
+
+
+    },
+    onShow: function () {
         //订阅状态查询
         //订阅状态查询
-      
+
         if (getApp().globalData.token) {
         if (getApp().globalData.token) {
             wx.getSetting({
             wx.getSetting({
                 withSubscriptions: true,
                 withSubscriptions: true,
@@ -337,7 +341,6 @@ Page({
                 },
                 },
             })
             })
         }
         }
-
     },
     },
     stop() {
     stop() {
         return
         return