提交 10239e1e 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新video示例

上级 9cbd200f
...@@ -79,8 +79,11 @@ ...@@ -79,8 +79,11 @@
}, },
methods: { methods: {
onError: function (e : VideoErrorEvent) { onError: function (e : VideoErrorEvent) {
const id = e.target?.getAttribute("id");
console.log(id + ":" + e.detail);
if (id != "video-错误路径") {
this.isError = true; this.isError = true;
console.log(e.target?.getAttribute("id") + ":" + e.detail); }
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册