fix(web): SearchInput add variant
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @Author: ZhaoYing
|
* @Author: ZhaoYing
|
||||||
* @Date: 2026-02-03 16:25:49
|
* @Date: 2026-02-03 16:25:49
|
||||||
* @Last Modified by: ZhaoYing
|
* @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
|
* Knowledge List Modal
|
||||||
@@ -140,6 +140,7 @@ const KnowledgeListModal = forwardRef<KnowledgeModalRef, KnowledgeModalProps>(({
|
|||||||
<SearchInput
|
<SearchInput
|
||||||
placeholder={t('knowledgeBase.searchPlaceholder')}
|
placeholder={t('knowledgeBase.searchPlaceholder')}
|
||||||
className="rb:w-full!"
|
className="rb:w-full!"
|
||||||
|
variant="outlined"
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Form>
|
</Form>
|
||||||
|
|||||||
@@ -808,7 +808,7 @@ const Private: FC = () => {
|
|||||||
{/* </div> */}
|
{/* </div> */}
|
||||||
</div>
|
</div>
|
||||||
<div className='rb:flex rb:items-center rb:justify-between rb:mb-4'>
|
<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'>
|
<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.Group value={isGraph} onChange={(e) => setIsGraph(e.target.value)}>
|
||||||
<Radio.Button value={false} >
|
<Radio.Button value={false} >
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ const KnowledgeListModal = forwardRef<KnowledgeModalRef, KnowledgeModalProps>(({
|
|||||||
<SearchInput
|
<SearchInput
|
||||||
placeholder={t('knowledgeBase.searchPlaceholder')}
|
placeholder={t('knowledgeBase.searchPlaceholder')}
|
||||||
className="rb:w-full!"
|
className="rb:w-full!"
|
||||||
|
variant="outlined"
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Form>
|
</Form>
|
||||||
|
|||||||
Reference in New Issue
Block a user