diff --git a/components-diy/diy-channel-list.vue b/components-diy/diy-channel-list.vue index 605b46c..13b97c9 100644 --- a/components-diy/diy-channel-list.vue +++ b/components-diy/diy-channel-list.vue @@ -229,6 +229,11 @@ export default { // 在微信小程序环境中调用视频播放接口 await wechatChannelUtil.playVideo(item); // #endif + + // #ifndef MP-WEIXIN + // 在非微信小程序环境中,直接触发事件 + this.$emit('video-play', item); + // #endif } catch (err) { console.error('打开视频号失败', err); }