jinx 4 лет назад
Родитель
Сommit
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) {
             wx.getSetting({
                 withSubscriptions: true,
@@ -337,7 +341,6 @@ Page({
                 },
             })
         }
-
     },
     stop() {
         return