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() { // 每次显示页面时刷新消息