Explorar o código

fix(next-tick): revert 60da366

the condition is no longer necessary after reverting back to microtask
only nextTick implementation, and fix #8436
Evan You %!s(int64=7) %!d(string=hai) anos
pai
achega
080dd971f7
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      src/platforms/web/runtime/modules/dom-props.js

+ 0 - 4
src/platforms/web/runtime/modules/dom-props.js

@@ -86,10 +86,6 @@ function isDirtyWithModifiers (elm: any, newVal: string): boolean {
   const value = elm.value
   const modifiers = elm._vModifiers // injected by v-model runtime
   if (isDef(modifiers)) {
-    if (modifiers.lazy) {
-      // inputs with lazy should only be updated when not in focus
-      return false
-    }
     if (modifiers.number) {
       return toNumber(value) !== toNumber(newVal)
     }