@tddc/assign-modal 3.0.5 → 3.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.
@@ -329,7 +329,6 @@ var AssignModal = function AssignModal(props) {
329
329
  );
330
330
  }
331
331
  }
332
- console.log(initOrgs, 'initOrgs');
333
332
  setCheckedKeys(initOrgs);
334
333
  setAppKeys(initApps || []);
335
334
  setUserKeys(initAccounts || []);
@@ -26,7 +26,7 @@
26
26
  display: flex;
27
27
  width: 100%;
28
28
  height: calc(100% - 36px);
29
- padding: 16px;
29
+ padding: 16px 0 16px 16px;
30
30
  background: @fill-color-quaternary;
31
31
  border-radius: @border-radius-base;
32
32
  }
@@ -59,6 +59,7 @@
59
59
  display: flex;
60
60
  align-items: flex-start;
61
61
  justify-content: space-between;
62
+ margin-right: 16px;
62
63
  margin-bottom: 16px;
63
64
  }
64
65
 
@@ -81,6 +82,7 @@
81
82
  display: flex;
82
83
  flex-direction: column;
83
84
  height: 50px;
85
+ margin-right: 8px;
84
86
  margin-bottom: 4px;
85
87
  padding: 4px 16px 4px 8px;
86
88
  border-radius: @border-radius-base;
@@ -300,6 +302,7 @@
300
302
  display: flex;
301
303
  flex-direction: column;
302
304
  height: 50px;
305
+ margin-right: 16px;
303
306
  margin-bottom: 4px !important;
304
307
  padding: 0px;
305
308
  border-radius: @border-radius-base;
@@ -94,7 +94,16 @@ var _dataFormat = function dataFormat(root, cb) {
94
94
  root.path = _toConsumableArray(path);
95
95
  root.show = true;
96
96
  cb && cb(root.key, root);
97
- for (var i = 0; i < root.children.length; i++) {
97
+ for (
98
+ var i = 0;
99
+ i <
100
+ ((_ref = (root === null || root === void 0 ? void 0 : root.children) || []) === null ||
101
+ _ref === void 0
102
+ ? void 0
103
+ : _ref.length);
104
+ i++
105
+ ) {
106
+ var _ref;
98
107
  _dataFormat(root.children[i], path, cb);
99
108
  }
100
109
  };
@@ -108,7 +117,16 @@ export var findSameCodePath = function findSameCodePath(root, code) {
108
117
  return;
109
118
  }
110
119
  if (root.code === code) res = root;
111
- for (var i = 0; i < root.children.length; i++) {
120
+ for (
121
+ var i = 0;
122
+ i <
123
+ ((_ref2 = (root === null || root === void 0 ? void 0 : root.children) || []) === null ||
124
+ _ref2 === void 0
125
+ ? void 0
126
+ : _ref2.length);
127
+ i++
128
+ ) {
129
+ var _ref2;
112
130
  _dfs(root.children[i], code);
113
131
  }
114
132
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tddc/assign-modal",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "assign-modal",
5
5
  "author": "zj <jun.zhang002383@tongdun.net>",
6
6
  "license": "ISC",