wlzboy
2 天以前 08f95b2f159b56fa3bd4f4b348855989de8aa456
app/pages/message/index.vue
@@ -47,7 +47,7 @@
        // 消息列表
        messages: [],
        loading: false,
        subscribed: true,
        subscribed: false,
      }
    },
    computed: {
@@ -68,7 +68,7 @@
    onLoad() {
      this.loadMessages()
      // 自动订阅(如果未订阅则显示确认弹窗)
      // this.autoSubscribeOnLaunch()
      this.autoSubscribeOnLaunch()
    },
    onShow() {
      // 每次显示页面时刷新消息