From 14a078dc4fd0aae25addce0f7b2d6c824efb828b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liu=20=E5=AE=87=E9=98=B3?= Date: Tue, 12 Nov 2024 13:29:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=9A=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=88=9B=E4=BD=9C=E9=A1=B5=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Title/index.tsx | 4 ++-- src/pages/Create/index.tsx | 3 +-- src/pages/File/index.tsx | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/Title/index.tsx b/src/components/Title/index.tsx index 7ada2c5..8175115 100644 --- a/src/components/Title/index.tsx +++ b/src/components/Title/index.tsx @@ -14,8 +14,8 @@ export default ({ value, children, className }: Props) => { return ( <> -
-

{value}

+
+

{value}

{children}
diff --git a/src/pages/Create/index.tsx b/src/pages/Create/index.tsx index 97d8b1f..f1cc20f 100644 --- a/src/pages/Create/index.tsx +++ b/src/pages/Create/index.tsx @@ -161,7 +161,7 @@ const CreatePage = () => { return ( <> - <div className='flex items-center space-x-4'> + <div className='flex items-center space-x-4 w-[360px]'> <Dropdown.Button menu={{ items }}> <AiOutlineEdit className='text-base' /> 创作神器 </Dropdown.Button> @@ -183,7 +183,6 @@ const CreatePage = () => { title={id ? "编辑文章" : "发布文章"} placement="right" size='large' - closable={false} onClose={() => setPublishOpen(false)} open={publishOpen} > diff --git a/src/pages/File/index.tsx b/src/pages/File/index.tsx index 6125b1e..a2f1c06 100644 --- a/src/pages/File/index.tsx +++ b/src/pages/File/index.tsx @@ -144,7 +144,6 @@ export default () => { width={600} title="图片信息" placement="right" - closable={false} open={openFileInfoDrawer} onClose={() => { setOpenFileInfoDrawer(false); setFile({} as File) }} >