From d1e1fecbaa980d9123b2c5c0438147b306a38f1a Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 20 Aug 2024 08:44:59 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=B8=8D=E9=9C=80=E8=A6=81refreshtoke?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/preferences.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index ebb6d172..3588a128 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -11,6 +11,10 @@ export const overridesPreferences = defineOverridesPreferences({ * 不要动这里 后端路由模式 */ accessMode: 'backend', + /** + * 不需要refresh token 由后端处理 + */ + enableRefreshToken: false, name: import.meta.env.VITE_APP_TITLE, }, footer: {