wlzboy
5 天以前 cfe0b79fbea0fb1d7a5a796e71ada7d3b7812046
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() {
      // 每次显示页面时刷新消息