Преглед изворни кода

欢迎页显示时间输入限制

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>