@zgfe/modules-settings 1.2.8 → 1.2.9-gdFix.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -123,9 +123,8 @@
123
123
  position: relative;
124
124
  display: flex;
125
125
  align-items: center;
126
- justify-content: flex-start;
127
- width: 400px;
128
- padding: 30px 0;
126
+ justify-content: flex-end;
127
+ margin-top: 80px;
129
128
  .c-select {
130
129
  margin-left: 10px;
131
130
  }
@@ -56,6 +56,12 @@ var UserGroup = function UserGroup(props) {
56
56
  message = '手机号码格式错误';
57
57
  }
58
58
  } else {
59
+ if (!inviteVal || !inviteVal.trim()) {
60
+ message = '账户不能为空';
61
+ }
62
+ if (Array.isArray(targetGroup) && targetGroup.length === 0) {
63
+ message = '请选择需要加入的用户组';
64
+ }
59
65
  if (!constants.regExp.account.test(inviteVal)) {
60
66
  message = '5~30个字符,可包含大、小写字母和数字、特殊字符(_.@)';
61
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "1.2.8",
3
+ "version": "1.2.9-gdFix.0",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -51,7 +51,7 @@
51
51
  "umi-request": "^1.4.0",
52
52
  "yorkie": "^2.0.0"
53
53
  },
54
- "gitHead": "a12f5598a9a374d7274f705915a220124d2adb21",
54
+ "gitHead": "994e268de3af389ee8fc82ebade54bbec26c824d",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }