Skip to content

Commit

Permalink
fix(Select): fix label render when using virtual scroll with custom l…
Browse files Browse the repository at this point in the history
…abel
  • Loading branch information
uyarn committed Oct 24, 2024
1 parent d4445b3 commit c2d4341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select/select-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default defineComponent({
scrollType: props.scroll?.type,
isVirtual: isVirtual.value,
bufferSize: props.scroll?.bufferSize,
key: `${item.$index || ''}_${index}`,
key: `${item.$index || ''}_${index}_${item.value}`,
}
: {
key: `${index}_${item.value}`,
Expand Down

0 comments on commit c2d4341

Please sign in to comment.