@zgfe/business-lib 1.2.22 → 1.2.23-heyh.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.
|
@@ -5,7 +5,7 @@ var InnerDemo = function InnerDemo(_ref) {
|
|
|
5
5
|
contextProps = _ref.contextProps;
|
|
6
6
|
return /*#__PURE__*/React.createElement(DemoWrapper, {
|
|
7
7
|
needMeta: true,
|
|
8
|
-
defaultApp:
|
|
8
|
+
defaultApp: 461,
|
|
9
9
|
contextProps: contextProps
|
|
10
10
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11
11
|
style: {
|
package/es/userGroup/index.js
CHANGED
|
@@ -143,6 +143,11 @@ var BizUserGroup = function BizUserGroup(_ref) {
|
|
|
143
143
|
},
|
|
144
144
|
trigger: ['click'],
|
|
145
145
|
onOpenChange: function onOpenChange(open) {
|
|
146
|
+
if (_.isArray(chosen) && !chosen.length) {
|
|
147
|
+
setChosen(userGroupList === null || userGroupList === void 0 ? void 0 : userGroupList.find(function (item) {
|
|
148
|
+
return item.id === 0;
|
|
149
|
+
}));
|
|
150
|
+
}
|
|
146
151
|
setOpen(open);
|
|
147
152
|
},
|
|
148
153
|
open: open,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.23-heyh.0",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react": "^16.12.0 || ^17.0.0",
|
|
56
56
|
"yorkie": "^2.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "2768e82fce614f98e8ce9372bb3afc98b468a39b",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|