Browse Source

Merge branch 'feature/authority-0918' of ssh://10.10.100.21/source/platform-b2c into feature/authority-0918

zhaohongpeng 8 years ago
parent
commit
c6a8d67b5e

+ 2 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_account_management_ctrl.js

@@ -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;