Skip to content

Commit

Permalink
fix(next-tick): revert 60da366
Browse files Browse the repository at this point in the history
the condition is no longer necessary after reverting back to microtask
only nextTick implementation, and fix #8436
  • Loading branch information
yyx990803 committed Dec 19, 2018
1 parent 850555d commit 080dd97
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/platforms/web/runtime/modules/dom-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 080dd97

Please sign in to comment.