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