File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -66,23 +66,23 @@ const Select = ({
66
66
} } />
67
67
< Img item = { items [ id ] } />
68
68
{ items [ id ] [ 0 ] }
69
+ { switch_ ? < div className = 'du r5px ob' > {
70
+ items . map ( ( item , iid ) => (
71
+ < button
72
+ key = { iid }
73
+ title = { titles [ 2 ] ? titles [ 2 ] : '' }
74
+ type = 'button'
75
+ className = 'bb cw sb scp cp'
76
+ onClick = { ( ) => {
77
+ setID ( iid ) ;
78
+ } }
79
+ >
80
+ < Img item = { item } />
81
+ { item [ 0 ] }
82
+ </ button >
83
+ ) )
84
+ } </ div > : < > </ > }
69
85
</ button >
70
- { switch_ ? < div className = 'du r5px ob' > {
71
- items . map ( ( item , iid ) => (
72
- < button
73
- key = { iid }
74
- title = { titles [ 2 ] ? titles [ 2 ] : '' }
75
- type = 'button'
76
- className = 'bb cw sb scp cp'
77
- onClick = { ( ) => {
78
- setID ( iid ) ;
79
- } }
80
- >
81
- < Img item = { item } />
82
- { item [ 0 ] }
83
- </ button >
84
- ) )
85
- } </ div > : < > </ > }
86
86
</ >
87
87
)
88
88
}
You can’t perform that action at this time.
0 commit comments