From 0673f7fe45966e537c4b6263dd7dfc8cbd1f5ad5 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期三, 21 五月 2025 17:37:55 +0800 Subject: [PATCH] 中药手册 --- src/plugin/axios/index.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/plugin/axios/index.js b/src/plugin/axios/index.js index 80a8050..286c057 100644 --- a/src/plugin/axios/index.js +++ b/src/plugin/axios/index.js @@ -11,6 +11,7 @@ service.interceptors.request.use( (config) => { let token = localStorage.getItem(myConfig.tokenKey) + config.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate' if (token) config.headers['Authorization'] = `bearer ${token}` return config }, -- Gitblit v1.9.1