diff --git a/resources/views/chat/partials/games/horse-race-panel.blade.php b/resources/views/chat/partials/games/horse-race-panel.blade.php index 722925b..c6430af 100644 --- a/resources/views/chat/partials/games/horse-race-panel.blade.php +++ b/resources/views/chat/partials/games/horse-race-panel.blade.php @@ -209,10 +209,12 @@ '#b8d0e8')"> {{-- 马匹图标(跟随进度) --}} -
+
@@ -536,7 +538,11 @@ */ updateProgress(data) { this.phase = 'running'; - this.positions = data.positions || {}; + // 确保响应式更新 + this.positions = { + ...this.positions, + ...(data.positions || {}) + }; this.leaderId = data.leader_id; },