fix(web): SearchInput add variant

This commit is contained in:
zhaoying
2026-03-25 17:58:34 +08:00
parent 0e899bea05
commit c4b83b1f9c
3 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 16:25:49
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-04 10:39:34
* @Last Modified time: 2026-03-25 17:54:38
*/
/**
* Knowledge List Modal
@@ -140,6 +140,7 @@ const KnowledgeListModal = forwardRef<KnowledgeModalRef, KnowledgeModalProps>(({
<SearchInput
placeholder={t('knowledgeBase.searchPlaceholder')}
className="rb:w-full!"
variant="outlined"
/>
</Form.Item>
</Form>

View File

@@ -808,7 +808,7 @@ const Private: FC = () => {
{/* </div> */}
</div>
<div className='rb:flex rb:items-center rb:justify-between rb:mb-4'>
<SearchInput placeholder={t('knowledgeBase.search')} onSearch={handleSearch} />
<SearchInput placeholder={t('knowledgeBase.search')} variant="outlined" onSearch={handleSearch} />
<div className='rb:flex-1 rb:flex rb:items-center rb:justify-end rb:gap-2.5'>
<Radio.Group value={isGraph} onChange={(e) => setIsGraph(e.target.value)}>
<Radio.Button value={false} >

View File

@@ -116,6 +116,7 @@ const KnowledgeListModal = forwardRef<KnowledgeModalRef, KnowledgeModalProps>(({
<SearchInput
placeholder={t('knowledgeBase.searchPlaceholder')}
className="rb:w-full!"
variant="outlined"
/>
</Form.Item>
</Form>