Skip to content

Commit

Permalink
fix(runtime-dom): fix getModelAssigner order in vModelCheckbox (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonet authored Apr 6, 2020
1 parent c34258f commit da1fb7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/directives/vModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ export const vModelCheckbox: ModelDirective<HTMLInputElement> = {
})
},
beforeUpdate(el, binding, vnode) {
setChecked(el, binding, vnode)
el._assign = getModelAssigner(vnode)
setChecked(el, binding, vnode)
}
}

Expand Down

0 comments on commit da1fb7a

Please sign in to comment.