From 7aed2b46cae3df6e3df1a8158504bd0d1ec2b881 Mon Sep 17 00:00:00 2001 From: cocos02 Date: Sun, 7 Jun 2026 15:44:31 +0800 Subject: [PATCH] fix: add start button to satisfy browser autoplay policy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace auto-start after loading with a '开始游戏' button overlay. The user click provides the required user gesture for autoplay with sound, fixing the issue where play() was silently rejected and choices never appeared. --- src/App.vue | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 33348ca..0ccdb56 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@