From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/datasets/documents/detail/completed/common/full-screen-drawer.tsx | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/components/datasets/documents/detail/completed/common/full-screen-drawer.tsx b/app/components/datasets/documents/detail/completed/common/full-screen-drawer.tsx index 277c429..0d86d2d 100644 --- a/app/components/datasets/documents/detail/completed/common/full-screen-drawer.tsx +++ b/app/components/datasets/documents/detail/completed/common/full-screen-drawer.tsx @@ -1,7 +1,6 @@ import React, { type FC } from 'react' import Drawer from '@/app/components/base/drawer' import classNames from '@/utils/classnames' -import { noop } from 'lodash-es' type IFullScreenDrawerProps = { isOpen: boolean @@ -12,7 +11,7 @@ const FullScreenDrawer: FC<IFullScreenDrawerProps> = ({ isOpen, - onClose = noop, + onClose = () => {}, fullScreen, children, }) => { @@ -20,7 +19,7 @@ <Drawer isOpen={isOpen} onClose={onClose} - panelClassName={classNames('!p-0 bg-components-panel-bg', + panelClassname={classNames('!p-0 bg-components-panel-bg', fullScreen ? '!max-w-full !w-full' : 'mt-16 mr-2 mb-2 !max-w-[560px] !w-[560px] border-[0.5px] border-components-panel-border rounded-xl', -- Gitblit v1.8.0