|
|
@@ -219,6 +219,10 @@ define(['app/app'], function (app) {
|
|
|
* 添加未注册用户
|
|
|
*/
|
|
|
$scope.addUser = function () {
|
|
|
+ if (!$scope.newUser.userName) {
|
|
|
+ toaster.pop('error', '请输入用户名信息');
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (!$scope.userEmailSuccess || !$scope.userTelSuccess) {
|
|
|
toaster.pop('error', '请输入正确的信息后提交');
|
|
|
return;
|