Просмотр исходного кода

refactor(runtime-vapor): update selected option

三咲智子 Kevin Deng 2 лет назад
Родитель
Сommit
77743006b8
1 измененных файлов с 0 добавлено и 6 удалено
  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)