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 vuejs#8436
  • Loading branch information
yyx990803 authored and hefeng committed Jan 25, 2019
1 parent 2e68b3c commit 517efba
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 517efba

Please sign in to comment.