@tddc/assign-modal 1.0.2 → 1.0.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.
@@ -161,6 +161,7 @@ var AssignModal = function AssignModal(props) {
161
161
 
162
162
  if (!info.node.isLeaf() && !info.node.checked) {
163
163
  var arr = (0, _utils.preorder)(info.node.props.item);
164
+ arr.splice(0, 1);
164
165
  arr.map(function (item) {
165
166
  var i = checked.findIndex(function (i) {
166
167
  return i === item;
@@ -176,7 +177,7 @@ var AssignModal = function AssignModal(props) {
176
177
  setCheckedKeys(checked);
177
178
  onChange && onChange({
178
179
  appKeys: appKeys,
179
- checkedKeys: keys.checked
180
+ checkedKeys: checked
180
181
  });
181
182
  };
182
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tddc/assign-modal",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
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": "8d599334ab004ec523c74c1a49ef3c93c34999bd"
21
+ "gitHead": "ee8d22c2102f79c3844ad90b3879aa7729658c37"
22
22
  }