mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-01 18:58:10 +08:00
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:
parent
28106bd3ec
commit
a7a3b59023
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user