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}/>
Menu