소스 검색

Merge branch 'release-hejq-201846' into hejq-feature-201847

wangcz 7 년 전
부모
커밋
98657a259f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/webapp/resources/tpl/index/approvalFlow/user.html

+ 2 - 1
src/main/webapp/resources/tpl/index/approvalFlow/user.html

@@ -387,6 +387,7 @@
 						</td>
 						<td class="text-center"><input ng-model="newUser.userName"
 							class="form-control input-sm" required type="text"
+							maxlength="20"
 							placeholder="用户名"></td>
 						<!--<td class="text-center"><select ng-model="newUser.userSex"-->
 							<!--class="form-control input-sm" ng-init="newUser.userSex='M'" style="width: 80px;">-->
@@ -406,7 +407,7 @@
 						<td class="text-center"
 							ng-class="{'has-error': userEmailError, 'has-success': userEmailSuccess}">
 							<input ng-model="newUser.userEmail" ng-pattern="/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/"
-							name="newUserEmail" class="form-control input-sm" type="text"
+							name="newUserEmail" class="form-control input-sm" type="text" maxlength="50"
 							placeholder="邮箱">
 						</td>
 						<td colspan="2"></td>