提交 a7c68a14 作者: 翁进城

fix: 错误判断

上级 c4700a02
......@@ -35,7 +35,7 @@ export default {
// console.log('livenvr', value)
if (newVal ) {
this.$nextTick(() => {
this.$refs["livePlayer"].play();
this.$refs["livePlayer"]?.play();
});
}
},
......
......@@ -86,10 +86,10 @@ export default {
if (value.vUrl == oldVal?.vUrl) {
return;
}
// console.log('livenvr', value)
console.log('livenvr', value, oldVal)
if (value && value.vUrl) {
this.$nextTick(() => {
this.$refs["livePlayer"].play();
this.$refs["livePlayer"]?.play();
});
}
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论