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/common/retrieval-method-config/index.tsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/datasets/common/retrieval-method-config/index.tsx b/app/components/datasets/common/retrieval-method-config/index.tsx index f979447..aee978c 100644 --- a/app/components/datasets/common/retrieval-method-config/index.tsx +++ b/app/components/datasets/common/retrieval-method-config/index.tsx @@ -94,7 +94,7 @@ return ( <div className='space-y-2'> {supportRetrievalMethods.includes(RETRIEVE_METHOD.semantic) && ( - <OptionCard disabled={disabled} icon={<Image className='h-4 w-4' src={retrievalIcon.vector} alt='' />} + <OptionCard disabled={disabled} icon={<Image className='w-4 h-4' src={retrievalIcon.vector} alt='' />} title={t('dataset.retrieval.semantic_search.title')} description={t('dataset.retrieval.semantic_search.description')} isActive={ @@ -112,7 +112,7 @@ </OptionCard> )} {supportRetrievalMethods.includes(RETRIEVE_METHOD.fullText) && ( - <OptionCard disabled={disabled} icon={<Image className='h-4 w-4' src={retrievalIcon.fullText} alt='' />} + <OptionCard disabled={disabled} icon={<Image className='w-4 h-4' src={retrievalIcon.fullText} alt='' />} title={t('dataset.retrieval.full_text_search.title')} description={t('dataset.retrieval.full_text_search.description')} isActive={ @@ -130,11 +130,11 @@ </OptionCard> )} {supportRetrievalMethods.includes(RETRIEVE_METHOD.hybrid) && ( - <OptionCard disabled={disabled} icon={<Image className='h-4 w-4' src={retrievalIcon.hybrid} alt='' />} + <OptionCard disabled={disabled} icon={<Image className='w-4 h-4' src={retrievalIcon.hybrid} alt='' />} title={ <div className='flex items-center space-x-1'> <div>{t('dataset.retrieval.hybrid_search.title')}</div> - <Badge text={t('dataset.retrieval.hybrid_search.recommend')!} className='ml-1 h-[18px] border-text-accent-secondary text-text-accent-secondary' uppercase /> + <Badge text={t('dataset.retrieval.hybrid_search.recommend')!} className='border-text-accent-secondary text-text-accent-secondary ml-1 h-[18px]' uppercase /> </div> } description={t('dataset.retrieval.hybrid_search.description')} isActive={ -- Gitblit v1.8.0