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/batch-modal/index.tsx | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/components/datasets/documents/detail/batch-modal/index.tsx b/app/components/datasets/documents/detail/batch-modal/index.tsx index 775d755..c666ba6 100644 --- a/app/components/datasets/documents/detail/batch-modal/index.tsx +++ b/app/components/datasets/documents/detail/batch-modal/index.tsx @@ -8,7 +8,6 @@ import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' import type { ChunkingMode } from '@/models/datasets' -import { noop } from 'lodash-es' export type IBatchModalProps = { isShow: boolean @@ -40,10 +39,10 @@ }, [isShow]) return ( - <Modal isShow={isShow} onClose={noop} className='!max-w-[520px] !rounded-xl px-8 py-6'> + <Modal isShow={isShow} onClose={() => { }} className='px-8 py-6 !max-w-[520px] !rounded-xl'> <div className='relative pb-1 text-xl font-medium leading-[30px] text-gray-900'>{t('datasetDocuments.list.batchModal.title')}</div> - <div className='absolute right-4 top-4 cursor-pointer p-2' onClick={onCancel}> - <RiCloseLine className='h-4 w-4 text-gray-500' /> + <div className='absolute right-4 top-4 p-2 cursor-pointer' onClick={onCancel}> + <RiCloseLine className='w-4 h-4 text-gray-500' /> </div> <CSVUploader file={currentCSV} @@ -52,7 +51,7 @@ <CSVDownloader docForm={docForm} /> - <div className='mt-[28px] flex justify-end pt-6'> + <div className='mt-[28px] pt-6 flex justify-end'> <Button className='mr-2' onClick={onCancel}> {t('datasetDocuments.list.batchModal.cancel')} </Button> -- Gitblit v1.8.0