开发完成时间限制

This commit is contained in:
lyp 2024-12-24 09:16:01 +08:00
parent 1c18be4d47
commit 1a0020b43e
2 changed files with 2 additions and 0 deletions

View File

@ -333,6 +333,7 @@ export default function ProjNew() {
locale={locale}
// style={{ width: '100%' }}
style={{ height: '50px', width: '800px', fontSize: 16, background: '#eeeeee', }}
disabledDate={(current) => current && current > dayjs().endOf('day')}
/>
</Form.Item>

View File

@ -638,6 +638,7 @@ export default function ProjEditStep2(props: any) {
locale={locale}
// style={{ width: '100%' }}
style={{ height: '50px', width: '411px', fontSize: '16px' }}
disabledDate={(current) => current && current > dayjs().endOf('day')}
/>
</Form.Item>