fix(components): [mention] ref dom array order error when list changes (#18787)

* fix(components): [mention] ref dom array order error when list changes

* chore: update index
This commit is contained in:
sea 2024-11-08 21:10:46 +08:00 committed by GitHub
parent 28106bd3ec
commit a7a3b59023
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@
v-for="(item, index) in options"
:id="`${contentId}-${index}`"
ref="optionRefs"
:key="item.value"
:key="index"
:class="optionkls(item, index)"
role="option"
:aria-disabled="item.disabled || disabled || undefined"