File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,8 @@ const SearchBarDemo = () => {
6767 < Demo4 />
6868 < View className = "h2" > { translated . title5 } </ View >
6969 < Demo5 />
70- { /* 组件引入Popover组件,带Popover组件适配harmony后验证 */ }
71- { harmony ( ) ? (
72- < > </ >
73- ) : (
70+ { /* 组件引入Popover组件,待Popover组件适配harmony后验证 */ }
71+ { ! harmony ( ) && (
7472 < >
7573 < View className = "h2" > { translated . title7 } </ View >
7674 < Demo6 />
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const Demo6 = () => {
3030 } }
3131 >
3232 更多
33- < ArrowDown size = { 12 } style = { { marginLeft : '5px' } } />
33+ < ArrowDown size = { 16 } />
3434 </ View >
3535 </ Popover >
3636 }
Original file line number Diff line number Diff line change 4949
5050 & > div ,
5151 & > span ,
52+ & > i ,
5253 & > svg {
5354 margin-right : $searchbar-gap ;
5455
6364
6465 & > div ,
6566 & > span ,
67+ & > i ,
6668 & > svg {
6769 margin-left : $searchbar-gap ;
6870
Original file line number Diff line number Diff line change @@ -99,12 +99,12 @@ export const SearchBar: FunctionComponent<
9999 eventValue === '' && forceFocus ( )
100100 }
101101 const focus = ( event : any ) => {
102- onFocus && onFocus ?. ( event ?. detail ?. value , event )
102+ onFocus && onFocus ( event ?. detail ?. value , event )
103103 }
104104 const blur = ( event : any ) => {
105105 const searchSelf : HTMLInputElement | null = searchRef . current
106106 searchSelf && searchSelf . blur ( )
107- onBlur && onBlur ?. ( event ?. detail ?. value , event )
107+ onBlur && onBlur ( event ?. detail ?. value , event )
108108 }
109109 useEffect ( ( ) => {
110110 setValue ( outerValue || '' )
You can’t perform that action at this time.
0 commit comments