@tddc/assign-modal 1.0.5 → 1.0.6

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.
@@ -96,6 +96,10 @@ var AssignModal = function AssignModal(props) {
96
96
  var initKeys = Array.from(new Set([].concat(_toConsumableArray((dataItem === null || dataItem === void 0 ? void 0 : dataItem.orgCodes) || []), _toConsumableArray(path))));
97
97
  setCheckedKeys(initKeys);
98
98
  setAppKeys((dataItem === null || dataItem === void 0 ? void 0 : dataItem.appCodes) || []);
99
+ onChange && onChange({
100
+ appKeys: (dataItem === null || dataItem === void 0 ? void 0 : dataItem.appCodes) || [],
101
+ checkedKeys: (dataItem === null || dataItem === void 0 ? void 0 : dataItem.orgCodes) || []
102
+ });
99
103
  }, [dataItem]);
100
104
  (0, _react.useEffect)(function () {
101
105
  // 机构和应用 全选
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tddc/assign-modal",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Layout",
5
5
  "author": "zj <jun.zhang002383@tongdun.net>",
6
6
  "license": "ISC",
@@ -18,5 +18,5 @@
18
18
  "dependencies": {
19
19
  "jsencrypt": "^3.2.1"
20
20
  },
21
- "gitHead": "c73d92892128fb1fe5a8eeb353a436b68d4b5143"
21
+ "gitHead": "7c965cc92686f73308e5c9bb182db622624192d9"
22
22
  }