Merge pull request #36 from Ghost23333/master

现在可以动态修改直播视频了,demo在readme.md
This commit is contained in:
langyuxiansheng 2021-01-03 11:14:49 +08:00 committed by GitHub
commit 4af7f7fee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,19 @@ export default {
showMultiple(){ showMultiple(){
this.isShowMultiple = !this.isShowMultiple; this.isShowMultiple = !this.isShowMultiple;
},
watch: {
source: {
handler() {
this.show = !this.show
setTimeout(()=>{ //设置延迟执行
this.show = !this.show
},1);
}
}
} }
} }
} }
</script> </script>