chore(视频号组件): 增加对auto-play 的控制
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user