Skip to content

Commit 6e147b9

Browse files
committed
fix: form templateContext error #62
1 parent b649f6b commit 6e147b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/form/Form.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export default {
178178
...options,
179179
fieldMetaProp: FIELD_META_PROP,
180180
fieldDataProp: FIELD_DATA_PROP,
181-
templateContext: this.$parent,
181+
templateContext: this.$vnode.context,
182182
})({
183183
provide () {
184184
return {

0 commit comments

Comments
 (0)