fix(components): [el-select] hover index (#4423)

This commit is contained in:
Alan Wang
2022-01-19 16:59:03 +08:00
committed by GitHub
parent a73f34844c
commit 7f025e1efc

View File

@@ -80,7 +80,7 @@ export function useOption(props, states) {
const hoverItem = () => {
if (!props.disabled && !selectGroup.disabled) {
select.hoverIndex = select.optionsArray.indexOf(instance)
select.hoverIndex = select.optionsArray.indexOf(instance.proxy)
}
}