chore(deps): upgrade antd to v6

This commit is contained in:
jialin
2026-01-06 17:21:32 +08:00
parent b2f5eb8850
commit 17de9d98f4
69 changed files with 2490 additions and 2657 deletions
+10 -2
View File
@@ -1,6 +1,7 @@
import { useEscHint } from '@/hooks/use-esc-hint';
import { CloseOutlined } from '@ant-design/icons';
import { Button, Drawer, type DrawerProps } from 'antd';
import React from 'react';
/**
* use ColumnWrapper to wrap content in Drawer with scroller
@@ -22,11 +23,18 @@ const ScrollerModal = (props: DrawerProps) => {
const handleCancel = (e: React.MouseEvent<HTMLElement>) => {
props.onClose?.(e);
};
return (
<>
<Drawer
{...restProps}
styles={{
wrapper: {
...styles?.wrapper
},
root: {
...styles?.root
},
body: {
height: 'calc(100vh - 57px)',
paddingBlock: 16,
@@ -34,9 +42,9 @@ const ScrollerModal = (props: DrawerProps) => {
overflowX: 'hidden',
...styles?.body
},
content: {
section: {
borderRadius: '6px 0 0 6px',
...styles?.content
...styles?.section
}
}}
closable={false}
+1 -1
View File
@@ -60,7 +60,7 @@ const ScrollerModal = (
title={<Title>{props.title}</Title>}
destroyOnHidden={true}
styles={{
content: {
container: {
padding: 0
},
header: {