@deepinnet-components/pc 0.0.33 → 0.0.34
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.
- package/dist/UserCenter/OrgPage/index.js +17 -18
- package/package.json +1 -1
|
@@ -464,24 +464,23 @@ var OrgList = function OrgList() {
|
|
|
464
464
|
rowKey: "key",
|
|
465
465
|
scroll: {
|
|
466
466
|
x: 1200
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
,
|
|
467
|
+
},
|
|
468
|
+
expandable: {
|
|
469
|
+
// defaultExpandAllRows: true, // 为啥不生效
|
|
470
|
+
// defaultExpandedRowKeys: expandedRowKeys,
|
|
471
|
+
// expandedRowKeys,
|
|
472
|
+
// onExpand: (flag, row) => {
|
|
473
|
+
// if (flag) {
|
|
474
|
+
// setExpandedRowKeys([...expandedRowKeys, row.key]);
|
|
475
|
+
// } else {
|
|
476
|
+
// setExpandedRowKeys(
|
|
477
|
+
// [...expandedRowKeys].filter((item) => item !== row.key),
|
|
478
|
+
// );
|
|
479
|
+
// }
|
|
480
|
+
// },
|
|
481
|
+
childrenColumnName: 'listChildren',
|
|
482
|
+
indentSize: 50
|
|
483
|
+
},
|
|
485
484
|
loading: loading
|
|
486
485
|
})), /*#__PURE__*/React.createElement(CreateOrg, {
|
|
487
486
|
isStart: orgModalInfo.isStart,
|