From a0268b611f7278605c45c512cbda39ef8fc2c629 Mon Sep 17 00:00:00 2001 From: lkddi Date: Fri, 24 Apr 2026 23:53:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8=E8=B5=9B=E9=A9=AC=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chat/partials/games/horse-race-panel.blade.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 47e482d..4b278d9 100644 --- a/resources/views/chat/partials/games/horse-race-panel.blade.php +++ b/resources/views/chat/partials/games/horse-race-panel.blade.php @@ -427,9 +427,15 @@ * @returns {Promise} */ async requestJson(url, options = {}) { - const response = await fetch(url, { + const requestUrl = new URL(url, window.location.origin); + requestUrl.searchParams.set('_ts', Date.now().toString()); + + const response = await fetch(requestUrl.toString(), { + cache: 'no-store', headers: { 'Accept': 'application/json', + 'Cache-Control': 'no-cache', + 'Pragma': 'no-cache', ...(options.headers || {}), }, ...options,