input type="time"精确到秒

186 阅读1分钟

加一个step=1就好了,如下

<input type="time" class="admin-input" name="departure_time" step="1">

image.png