2
0
Эх сурвалжийг харах

fix(next-tick): revert 60da366

the condition is no longer necessary after reverting back to microtask
only nextTick implementation, and fix #8436
Evan You 7 жил өмнө
parent
commit
080dd971f7

+ 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)
     }