<video class="video" id="myVideo" src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4" :title="title" autoplay controls > </video>
<button @click="updateTitle" class="page-body-button">更新标题</button>
updateTitle: function () {
this.count ++;
this.title = '更新标题'+this.count ;
}
0 个回复