Browse Source

欢迎页显示时间输入限制

zhangweicheng 5 years ago
parent
commit
3059fab536
1 changed files with 1 additions and 1 deletions
  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>