- channel-live 组件不显示?
wxml代码 <view> <view>直播组件测试</view> <button bind:tap="openLive">跳转直播</button> <view class="live-component-wrap"> <channel-live class="live-component" :feed-id="feedId" :finder-user-name="finderUserName" ></channel-live> </view> </view> js代码 Page({ data: { feedId: '', finderUserName: 'sphxxxxxxxxx' }, onLoad() { this.getLiveInfo() }, getLiveInfo() { const _this = this wx.getChannelsLiveInfo({ finderUserName: _this.data.finderUserName, success(res) { _this.setData({ feedId: res.feedId }) }, fail(err) { }, }) }, openLive() { const _this = this wx.openChannelsLive({ finderUserName: _this.data.finderUserName }) } }) 页面渲染结果 已经反复确认小程序主体与视频号主体是一致的! [图片] wx.getChannelsLiveInfo调用均正常,能正常返回结果 [图片] 基础版本库3.0.0 [图片]
2023-10-19 - wx.saveImageToPhotosAlbum 保存图片,ios报错,如何处理?
wx.saveImageToPhotosAlbum,保存图片到相册,部分图片在ios会报错,无法保存,安卓正常 测试机型:[图片] 代码片段:https://developers.weixin.qq.com/s/wR4d2Tm67WvO 错误信息:saveImageToPhotosAlbum:fail save fail:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.photos.service was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.photos.service was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.
2021-12-28