添加step=1的属性即可,例如:
<input step=1 type="datetime-local" value="2019-01-01T00:00:00">
添加step=1的属性即可,例如:
<input step=1 type="datetime-local" value="2019-01-01T00:00:00">
本文标题:[HTML5] Datetime-local的input设置到秒
本文链接:https://www.haomeiwen.com/subject/bgolmctx.html
网友评论