diff --git a/pages/component/video/video.uvue b/pages/component/video/video.uvue index 0de454f794cd9f2923a02993fc420c6604809812..77975bd9e05625a4a756c13d7ec253f10737c704 100644 --- a/pages/component/video/video.uvue +++ b/pages/component/video/video.uvue @@ -233,7 +233,7 @@ }, pause: function () { console.log("pause"); - (uni.getElementById("video") as unknown as UniVideoElement).pause(); //as写法测试。注意id不对时as会崩溃 + (uni.getElementById("video") as UniVideoElement).pause(); //as写法测试。注意id不对时as会崩溃 // this.videoContext?.pause(); }, seek: function (pos : number) {