From 1695fcd442fe2cefb6d3b63869ad8a72ebd5210a Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期五, 04 七月 2025 23:57:18 +0800 Subject: [PATCH] 测试图书 7.4 --- 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