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 c87d025 commit ae6f01fCopy full SHA for ae6f01f
src/components/calendar/ui/date-list/index.tsx
@@ -42,9 +42,9 @@ export default class AtCalendarList extends Taro.Component<Props> {
42
43
return (
44
<View className='at-calendar__list flex'>
45
- {list.map((item, index) => (
+ {list.map((item: Calendar.Item) => (
46
<View
47
- key={`list-item-${index}`}
+ key={`list-item-${item.value}`}
48
onClick={this.handleClick.bind(this, item)}
49
onLongPress={this.handleLongClick.bind(this, item)}
50
className={classnames(
0 commit comments