Problems with the default value display of Antd's TimePicker

now I use the defaultValue parameter to set the default value, but when there is no default value, it will appear as invalid invalid

how can I take the default value when there is a default value in the background, and display placeholder when there is no default value? (show as Please select time)

how can such a requirement be realized?

Mar.11,2021

let testdata = moment("12:08:23", "HH:mm:ss");
<TimePicker defaultValue={testdata}/>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31fc7-2bdc1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31fc7-2bdc1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?