:bug: Fix DatePicker throw onEsc error
:bug: Fix DatePicker throw onEsc error

close #19461

elevensky/ant-design,zheeeng/ant-design,ant-design/ant-design,zheeeng/ant-design,icaife/ant-design,icaife/ant-design,ant-design/ant-design,ant-design/ant-design,ant-design/ant-design,elevensky/ant-design,icaife/ant-design,zheeeng/ant-design,icaife/ant-design,elevensky/ant-design,zheeeng/ant-design,elevensky/ant-design