Skip to content

Commit

Permalink
fix: form templateContext error #62
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jul 3, 2018
1 parent 71db140 commit c463649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/form/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export default {
...options,
fieldMetaProp: FIELD_META_PROP,
fieldDataProp: FIELD_DATA_PROP,
templateContext: this.$parent,
templateContext: this.$vnode.context,
})({
provide () {
return {
Expand Down

0 comments on commit c463649

Please sign in to comment.