|
|
@@ -163,7 +163,7 @@ define(['app/app'], function (app) {
|
|
|
*/
|
|
|
$scope.addUser = function () {
|
|
|
if (!$scope.userEmailSuccess || !$scope.userTelSuccess) {
|
|
|
- toaster.pop('error', '请填写完信息后提交');
|
|
|
+ toaster.pop('error', '请输入正确的信息后提交');
|
|
|
return;
|
|
|
}
|
|
|
$scope.adding = true;
|
|
|
@@ -298,6 +298,7 @@ define(['app/app'], function (app) {
|
|
|
// false);
|
|
|
$scope.userEmailError = true;
|
|
|
$scope.userEmailSuccess = false;
|
|
|
+ toaster.pop('error', '错误', '邮箱 ' + email + ' 已被注册');
|
|
|
}
|
|
|
}).error(function () {
|
|
|
$scope.userEmailError = true;
|