Explorar o código

refactor(runtime-vapor): update selected option

三咲智子 Kevin Deng %!s(int64=2) %!d(string=hai) anos
pai
achega
77743006b8
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      packages/runtime-vapor/src/directives/vModel.ts

+ 0 - 6
packages/runtime-vapor/src/directives/vModel.ts

@@ -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)