Skip to content

Commit 2f121a9

Browse files
authored
Update index.tsx
单个图片删除后,无法点击添加 #1170 (comment)
1 parent c827ed1 commit 2f121a9

File tree

1 file changed

+1
-1
lines changed
  • packages/taro-ui/src/components/image-picker

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default class AtImagePicker extends React.Component<AtImagePickerProps> {
131131
) : (
132132
<View
133133
className='at-image-picker__flex-item'
134-
key={i * length + j}
134+
key={'empty_' + i * length + j}
135135
>
136136
{item.type === 'btn' && (
137137
<View

0 commit comments

Comments
 (0)