wlzboy
2026-03-06 55cb4e492f782126e941b80c53c496159d8eb3c0
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() {
      // 每次显示页面时刷新消息