소스 검색

欢迎页显示时间输入限制

zhangweicheng 5 년 전
부모
커밋
3059fab536
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/users/views/welcome/index.html

+ 1 - 1
web/users/views/welcome/index.html

@@ -49,7 +49,7 @@
                                 <input type="radio" name="showType" value="0" <% if(setting.showType == 0) { %>checked<% } %> > 关闭
                             </label>&nbsp;
                             <label>
-                              显示时间 <input type="text" name="showTime" value="<%= setting.showTime %>" >
+                              显示时间 <input  type="number" step="1"  name="showTime" value="<%= setting.showTime %>" >
                           </label>
                         </div>
                     </div>