解决了嘛?
真机调试wx.updateShareMenu无法显示成员正在加入send(){ let that = this wx.login({ success(res) { if (res.code) { wx.request({ url: 'http://localhost:3000/name', data: res.code, success(res) { let { activity_id } = res.data wx.updateShareMenu({ withShareTicket: true, isUpdatableMessage: true, targetState: 0, activityId: '1051_CmHKFrNSnB/hWvbKt5gJzIory3GzxJYkSTuihAUUdM96O0PGtg6FCXA-dy65MdRtUpVyckedq1gNATFB', // 活动 ID templateInfo: { parameterList: [{ name: 'member_count', value: '1' }, { name: 'room_limit', value: '3' }] } }) } }) } else { console.log('登录失败!' + res.errMsg) } } }) }
2023-05-30