@zgfe/modules-settings 1.2.9-alpha.1 → 1.2.9-gdFix.3
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.
|
@@ -117,7 +117,6 @@ var User = function User(props) {
|
|
|
117
117
|
return item.inv_status === 1 && item.id !== id;
|
|
118
118
|
}));
|
|
119
119
|
}
|
|
120
|
-
// ????
|
|
121
120
|
}).catch(function (err) {
|
|
122
121
|
// todo ????
|
|
123
122
|
});
|
|
@@ -502,7 +501,7 @@ var User = function User(props) {
|
|
|
502
501
|
columns: columns,
|
|
503
502
|
total: showMembers.length,
|
|
504
503
|
rowKey: "id",
|
|
505
|
-
|
|
504
|
+
pagination: false
|
|
506
505
|
}), /*#__PURE__*/React.createElement("div", null, isAdmin ? /*#__PURE__*/React.createElement("div", {
|
|
507
506
|
style: {
|
|
508
507
|
top: !showMembers.length ? -14 : -64
|
|
@@ -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/es/types/app.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "1.2.9-
|
|
3
|
+
"version": "1.2.9-gdFix.3",
|
|
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": "
|
|
54
|
+
"gitHead": "fcf2dee39a0da99979224dc5a8939b3a0a063560",
|
|
55
55
|
"gitHooks": {
|
|
56
56
|
"pre-commit": "lint-staged"
|
|
57
57
|
}
|