chore(视频号组件): 增加对auto-play 的控制

This commit is contained in:
2026-01-12 08:57:07 +08:00
parent 7e0d61c7e5
commit 128d75b921

View File

@@ -7,6 +7,7 @@
:feed-id="value.feedId"
:finder-user-name="value.finderUserName"
:feed-token="value.feedToken"
:auto-play="autoPlay"
:style="embedVideoStyle">
</channel-video>
// #endif
@@ -119,6 +120,11 @@ export default {
backgroundColor: 'rgba(0, 0, 0, 0.6)'
})
},
/** 是否自动播放 */
autoPlay: {
type: Boolean,
default: false
},
},
computed: {