用户邮箱长度限制20

pull/150/head
RuoYi 2019-12-16 11:44:20 +08:00
parent d80c1d2a73
commit 21992c1be7
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<div class="form-group">
<label class="col-sm-4 control-label"><span style="color: red; ">*</span>邮箱:</label>
<div class="col-sm-8">
<input id="email" name="email" class="form-control email" type="text" maxlength="50" placeholder="请输入邮箱" required>
<input id="email" name="email" class="form-control email" type="text" maxlength="20" placeholder="请输入邮箱" required>
</div>
</div>
</div>

View File

@ -44,7 +44,7 @@
<div class="form-group">
<label class="col-sm-4 control-label"><span style="color: red; ">*</span>邮箱:</label>
<div class="col-sm-8">
<input name="email" class="form-control email" type="text" maxlength="50" placeholder="请输入邮箱" th:field="*{email}" required>
<input name="email" class="form-control email" type="text" maxlength="20" placeholder="请输入邮箱" th:field="*{email}" required>
</div>
</div>
</div>