|
|
@@ -116,7 +116,7 @@
|
|
|
<label for="enAdminEmail" class="col-md-3 col-sm-4 control-label">管理员邮箱:</label>
|
|
|
<div class="col-md-5 col-sm-6">
|
|
|
<input required ng-model="enterprise.enAdminEmail" type="email" class="form-control" id="enAdminEmail" name="enAdminEmail"
|
|
|
- ng-pattern="/^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$/" placeholder="请输入系统管理员邮箱地址">
|
|
|
+ ng-pattern="/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/" placeholder="请输入系统管理员邮箱地址">
|
|
|
</div>
|
|
|
<div class="col-md-4 col-sm-offset-4 col-md-offset-0">
|
|
|
<span ng-show="!myForm.enAdminEmail.$invalid" class="text-success"><span class="glyphicon glyphicon-ok-circle"></span>恭喜您,邮箱可用</span>
|