Skip to content

Commit d91e718

Browse files
robinclaude
andcommitted
[run] #1836: apply lint fixes and add .mino to .gitignore
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3f17c5f commit d91e718

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ coverage
3535

3636
# taro rn release
3737
!packages/taro-ui-demo-rn/release/**
38+
39+
.mino

packages/taro-ui/src/components/image-picker/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,14 @@ export default class AtImagePicker extends React.Component<AtImagePickerProps> {
140140
>
141141
{item.type === 'btn' && (
142142
<View onClick={this.chooseFile}>
143-
{
144-
this.props.children
145-
|| <View className='at-image-picker__item at-image-picker__choose-btn'>
143+
{this.props.children || (
144+
<View className='at-image-picker__item at-image-picker__choose-btn'>
146145
<View className='add-bar'></View>
147146
<View className='add-bar'></View>
148147
</View>
149-
}
150-
</View>)}
148+
)}
149+
</View>
150+
)}
151151
</View>
152152
)
153153
)}

0 commit comments

Comments
 (0)