From 852620329813788fc95821efc8e707c51c190a4d Mon Sep 17 00:00:00 2001 From: "DESKTOP-RQ919RC\\Pc" <1300399510@qq.com> Date: Thu, 3 Apr 2025 18:51:44 +0800 Subject: [PATCH] no message --- js/common.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/common.js b/js/common.js index f6467fc..8c3b81c 100644 --- a/js/common.js +++ b/js/common.js @@ -46,11 +46,11 @@ function $ajaxget(url, data) { return new Promise((resolve, reject) => { axios .get(url, { + headers: { + "Cache-Control": "max-age=3600", + }, emulateJSON: true, withCredentials: true, - // headers: { - // "Cache-Control": "max-age=3600", - // }, }) .then((res) => { var data = typeof res.data == "string" ? JSON.parse(res.data) : res.data;