提交 c9a2cf2e 编写于 作者: A afc163

update timepicker demo

上级 8d85684b
......@@ -10,7 +10,9 @@
import { Timepicker } from 'antd';
function onChange(time) {
console.log(time.toTimeString());
console.log(time.toLocaleTimeString('zh-CN', {
hour12: false
}));
}
ReactDOM.render(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册