From 0a076f5e6e632fd94fb7672d3cfe7c9bf021f970 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Mon, 19 May 2025 21:52:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=90=8E=E7=9A=84padd?= =?UTF-8?q?ing=E8=AE=BE=E7=BD=AE=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/preferences.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index 17bc722c..5cf7d77c 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -21,6 +21,15 @@ export const overridesPreferences = defineOverridesPreferences({ */ // defaultAvatar: '', name: import.meta.env.VITE_APP_TITLE, + /** + * 这里需要设置为0 因为Page组件已经自带了padding + * TODO: 不确定官方后续会不会更新 + */ + contentPadding: 0, + contentPaddingTop: 0, + contentPaddingBottom: 0, + contentPaddingLeft: 0, + contentPaddingRight: 0, /** * 不支持modal模式 需要改动的地方太多 * 1. 正常重新登录后不会再触发接口请求 即触发登录超时的页面为空数据