Commit d0333f21 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

🐞 fix(商家营销活动): 活动规则输入框增加校验

parent 8c218d36
......@@ -78,6 +78,7 @@ const AddedMarketing = () => {
roleType: item.roleId,
roleTypeName: item.roleName,
level: item.level,
levelTyp: item.levelType,
levelTypeName: item.levelTypeName,
levelTag: item.levelTag,
}
......
......@@ -123,6 +123,7 @@ const BasicInfoLayout: React.FC<BasicInfoProps> = (props: any) => {
]}>
<DatePicker
showTime
showNow={false}
allowClear
disabledDate={(current) => startTimeDisabled(current, 'endTime')}
/>
......@@ -133,6 +134,7 @@ const BasicInfoLayout: React.FC<BasicInfoProps> = (props: any) => {
rules={[{ required: true, message: '请选择活动结束时间' }]}>
<DatePicker
showTime
showNow={false}
allowClear
disabledDate={(current) => endTimeDisabled(current, 'startTime')}
/>
......
......@@ -131,7 +131,6 @@ const PartakeUserLayout: React.FC<PartakeUserLayoutProps> = (props: any) => {
</Checkbox.Group>
</Form.Item>
)}
</CardLayout>
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment