refactor(runtime-vapor): update selected option

This commit is contained in:
三咲智子 Kevin Deng 2024-02-06 20:22:43 +08:00
parent 3c3b56ac04
commit 77743006b8
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 0 additions and 6 deletions

View File

@ -175,12 +175,6 @@ function setSelected(
return
}
// Disable fast path due to https://github.com/vuejs/core/issues/10267
// fast path for updates triggered by other changes
// if (isArrayValue && looseEqual(value, oldValue)) {
// return
// }
for (let i = 0, l = el.options.length; i < l; i++) {
const option = el.options[i]
const optionValue = getValue(option, instance)