From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/app/annotation/batch-add-annotation-modal/index.tsx | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/app/components/app/annotation/batch-add-annotation-modal/index.tsx b/app/components/app/annotation/batch-add-annotation-modal/index.tsx
index 8f4e907..9a496a1 100644
--- a/app/components/app/annotation/batch-add-annotation-modal/index.tsx
+++ b/app/components/app/annotation/batch-add-annotation-modal/index.tsx
@@ -11,7 +11,6 @@
import { annotationBatchImport, checkAnnotationBatchImportProgress } from '@/service/annotation'
import { useProviderContext } from '@/context/provider-context'
import AnnotationFull from '@/app/components/billing/annotation-full'
-import { noop } from 'lodash-es'
export enum ProcessStatus {
WAITING = 'waiting',
@@ -88,10 +87,10 @@
}
return (
- <Modal isShow={isShow} onClose={noop} className='!max-w-[520px] !rounded-xl px-8 py-6'>
- <div className='system-xl-medium relative pb-1 text-text-primary'>{t('appAnnotation.batchModal.title')}</div>
- <div className='absolute right-4 top-4 cursor-pointer p-2' onClick={onCancel}>
- <RiCloseLine className='h-4 w-4 text-text-tertiary' />
+ <Modal isShow={isShow} onClose={() => { }} className='px-8 py-6 !max-w-[520px] !rounded-xl'>
+ <div className='relative pb-1 system-xl-medium text-text-primary'>{t('appAnnotation.batchModal.title')}</div>
+ <div className='absolute right-4 top-4 p-2 cursor-pointer' onClick={onCancel}>
+ <RiCloseLine className='w-4 h-4 text-text-tertiary' />
</div>
<CSVUploader
file={currentCSV}
@@ -105,8 +104,8 @@
</div>
)}
- <div className='mt-[28px] flex justify-end pt-6'>
- <Button className='system-sm-medium mr-2 text-text-tertiary' onClick={onCancel}>
+ <div className='mt-[28px] pt-6 flex justify-end'>
+ <Button className='mr-2 text-text-tertiary system-sm-medium' onClick={onCancel}>
{t('appAnnotation.batchModal.cancel')}
</Button>
<Button
--
Gitblit v1.8.0