refactor(runtime-vapor): update selected option
This commit is contained in:
parent
3c3b56ac04
commit
77743006b8
|
@ -175,12 +175,6 @@ function setSelected(
|
||||||
return
|
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++) {
|
for (let i = 0, l = el.options.length; i < l; i++) {
|
||||||
const option = el.options[i]
|
const option = el.options[i]
|
||||||
const optionValue = getValue(option, instance)
|
const optionValue = getValue(option, instance)
|
||||||
|
|
Loading…
Reference in New Issue