Replies: 2 comments 3 replies
-
_想set啥 就set啥_ |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
xmsz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
_想set啥 就set啥_ |
Beta Was this translation helpful? Give feedback.
-
背景
但是不管targetType怎么变化,页面上始终是RoomSelect这个组件
我通过
{targetType === 'room' && <Field
name='targetReceivers.ids'
decorator={[FormItem]}
component={[
RoomSelect
]}
/>}
{targetType === 'rolePlan' && <Field
name='targetReceivers.ids'
decorator={[FormItem]}
component={[
RolePlanSelect
]}
/>}
Beta Was this translation helpful? Give feedback.
All reactions