From 11d49fd2be587fd128f6ab899b10b963f81b0831 Mon Sep 17 00:00:00 2001 From: ljx <864490211@qq.com> Date: Wed, 4 Jun 2025 10:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E9=9D=99=E9=9F=B3=E6=92=AD?= =?UTF-8?q?=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/baozuo-demo3/RightCmp.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/baozuo-demo3/RightCmp.vue b/src/components/baozuo-demo3/RightCmp.vue index 828afc9..0c59ac4 100644 --- a/src/components/baozuo-demo3/RightCmp.vue +++ b/src/components/baozuo-demo3/RightCmp.vue @@ -94,7 +94,7 @@
- +
@@ -271,6 +271,10 @@ export default { this.todayDate = `${month}月${day}日`; this.todayWeek = week; + const video = document.getElementById('myVideo'); + video.muted = true; // 静音 + video.autoplay = true; + video.play().catch(e => console.error('播放错误:', e)); this.initPieChart(); this.initDangerChart(); this.initSafeChart();