Skip to content

Commit

Permalink
fix: fix createVoidSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Nov 26, 2021
1 parent 6df7210 commit b3ada9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formily/antd/src/components/Field/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const createVoidFieldSchema = (
'x-reactions': {
fulfill: {
state: {
hidden: '{{$form.values["x-decorator"] === "FormItem"}}',
hidden: '{{$form.values["x-decorator"] !== "FormItem"}}',
},
},
},
Expand All @@ -181,7 +181,7 @@ export const createVoidFieldSchema = (
'x-reactions': {
fulfill: {
state: {
hidden: '{{$form.values["x-decorator"] === "FormItem"}}',
hidden: '{{$form.values["x-decorator"] !== "FormItem"}}',
},
},
},
Expand Down

0 comments on commit b3ada9f

Please sign in to comment.