From 8f6a2a6c2321ffb247f9102be94318cfc5ed8dfb Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Mon, 14 Oct 2024 17:11:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/preferences.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index 3cea91e5..16d86d7e 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -20,6 +20,12 @@ export const overridesPreferences = defineOverridesPreferences({ */ // defaultAvatar: '', name: import.meta.env.VITE_APP_TITLE, + /** + * 不支持modal模式 需要改动的地方太多 + * 1. 正常重新登录后不会再触发接口请求 即触发登录超时的页面为空数据 + * 2. 切换租户登录后不会重新加载菜单 + */ + // loginExpiredMode: 'modal', }, footer: { /**