Repository: ant-design
Issue: DatePicker.RangePicker在`showTime=true`且`needConfirm=false`时的两种提交异常
Labels: Inactive,unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/ri-qi-ge-shi-antd-5-14-0-forked-zgppfd?file=%2Fdemo.tsx%3A6%2C51&layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clsc8qaz000063b6h05k28pes%2522%252C%2522sizes%2522%253A%255B70%252C30%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clsc8qayz00023b6htflejvtx%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clsc8qayz00033b6hqqcr98qv%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clsc8qayz00053b6hvz3319pd%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clsc8qayz00023b6htflejvtx%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clsc8qayz00013b6hmo88buzk%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fdemo.tsx%2522%252C%2522state%2522%253A%2522IDLE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A6%252C%2522startColumn%2522%253A51%252C%2522endLineNumber%2522%253A6%252C%2522endColumn%2522%253A51%257D%255D%257D%255D%252C%2522id%2522%253A%2522clsc8qayz00023b6htflejvtx%2522%252C%2522activeTabId%2522%253A%2522clsc8qayz00013b6hmo88buzk%2522%257D%252C%2522clsc8qayz00053b6hvz3319pd%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clsc8qayz00043b6h971kmqtn%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522id%2522%253A%2522clsc8qayz00053b6hvz3319pd%2522%252C%2522activeTabId%2522%253A%2522clsc8qayz00043b6h971kmqtn%2522%257D%252C%2522clsc8qayz00033b6hqqcr98qv%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clsc8qayz00033b6hqqcr98qv%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Atrue%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D)

### Steps to reproduce

使用`DatePicker.RangePicker`，打开`showTime`，且关闭`needConfirm`:

```
<DatePicker.RangePicker showTime needConfirm={false} />
```

### 第一种情况：先选开始，再选结束时，需要失焦两次才能提交。
1. 点击“开始日期”输入框，弹出picker，选择任意日期，时间无所谓
2. 点击“结束日期”输入框，选择任意日期，时间无所谓
3. 点击空白处


https://github.com/ant-design/ant-design/assets/38813747/7f044c9f-4be8-4a6f-85c7-0c9b31d394e0


### 第二种情况：先选结束，再选开始时，也要失焦两次，且无法提交。
1. 点击“结束日期”输入框，弹出picker，选择任意日期，时间无所谓
2. 点击“开始日期”输入框，选择任意日期，时间无所谓
3. 点击空白处

https://github.com/ant-design/ant-design/assets/38813747/8fa44a8c-fec1-4feb-bc15-7b7f44f7878a


### What is expected?

点击一次空白处后，picker关闭，且提交正确的日期时间范围

### What is actually happening?

picker消失后又迅速重新弹出，且焦点回到了“开始日期”输入框，需要再次点击空白处才能关闭picker。

- 第一种情况下，失焦两次后能够完成提交
- 第二种情况下，失焦两次后依然无法提交，数值清空了

| Environment | Info |
| --- | --- |
| antd | >= 5.14.0 |
| React | 18.2 |
| System | macOS 13.6.4 |
| Browser | Chrome latest (121.0.6167.160) |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->