We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f17c5f commit d91e718Copy full SHA for d91e718
2 files changed
.gitignore
@@ -35,3 +35,5 @@ coverage
35
36
# taro rn release
37
!packages/taro-ui-demo-rn/release/**
38
+
39
+.mino
packages/taro-ui/src/components/image-picker/index.tsx
@@ -140,14 +140,14 @@ export default class AtImagePicker extends React.Component<AtImagePickerProps> {
140
>
141
{item.type === 'btn' && (
142
<View onClick={this.chooseFile}>
143
- {
144
- this.props.children
145
- || <View className='at-image-picker__item at-image-picker__choose-btn'>
+ {this.props.children || (
+ <View className='at-image-picker__item at-image-picker__choose-btn'>
146
<View className='add-bar'></View>
147
148
</View>
149
- }
150
- </View>)}
+ )}
+ </View>
151
152
)
153
)}
0 commit comments