Procházet zdrojové kódy

refactor(runtime-vapor): update selected option

三咲智子 Kevin Deng před 2 roky
rodič
revize
77743006b8
1 změnil soubory, kde provedl 0 přidání a 6 odebrání
  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)