File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/devui-vue/devui/search/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { getRootClass } from './composables/use-search-class';
44import { keywordsHandles } from './composables/use-search-keywords' ;
55import { keydownHandles } from './composables/use-search-keydown' ;
66import DInput from '../../input/src/input' ;
7+ import { Icon } from '../../icon' ;
78import { useNamespace } from '../../shared/hooks/use-namespace' ;
89import './search.scss' ;
910import { createI18nTranslate } from '../../locale/create' ;
@@ -53,18 +54,18 @@ export default defineComponent({
5354 < label class = { rootClasses . value } >
5455 { props . iconPosition === 'left' && (
5556 < div class = { ns . e ( 'icon' ) } onClick = { onClickHandle } >
56- < d-icon name = "search" size = "inherit" key = "search" > </ d-icon >
57+ < Icon name = "search" size = "inherit" key = "search" > </ Icon >
5758 </ div >
5859 ) }
5960 < DInput { ...inputProps } > </ DInput >
6061 { clearIconShow . value && (
6162 < div class = { ns . e ( 'clear' ) } onClick = { onClearHandle } >
62- < d-icon name = "close" size = "inherit" key = "close" > </ d-icon >
63+ < Icon name = "close" size = "inherit" key = "close" > </ Icon >
6364 </ div >
6465 ) }
6566 { props . iconPosition === 'right' && (
6667 < div class = { ns . e ( 'icon' ) } onClick = { onClickHandle } >
67- < d-icon name = "search" size = "inherit" key = "search" > </ d-icon >
68+ < Icon name = "search" size = "inherit" key = "search" > </ Icon >
6869 </ div >
6970 ) }
7071 </ label >
You can’t perform that action at this time.
0 commit comments