Przeglądaj źródła

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 lat temu
rodzic
commit
080dd971f7
1 zmienionych plików z 0 dodań i 4 usunięć
  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 value = elm.value
   const modifiers = elm._vModifiers // injected by v-model runtime
   const modifiers = elm._vModifiers // injected by v-model runtime
   if (isDef(modifiers)) {
   if (isDef(modifiers)) {
-    if (modifiers.lazy) {
-      // inputs with lazy should only be updated when not in focus
-      return false
-    }
     if (modifiers.number) {
     if (modifiers.number) {
       return toNumber(value) !== toNumber(newVal)
       return toNumber(value) !== toNumber(newVal)
     }
     }