@deepinnet-components/pc 0.0.32 → 0.0.33
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.
|
@@ -464,24 +464,24 @@ var OrgList = function OrgList() {
|
|
|
464
464
|
rowKey: "key",
|
|
465
465
|
scroll: {
|
|
466
466
|
x: 1200
|
|
467
|
-
}
|
|
468
|
-
expandable
|
|
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
|
+
// }}
|
|
484
|
+
,
|
|
485
485
|
loading: loading
|
|
486
486
|
})), /*#__PURE__*/React.createElement(CreateOrg, {
|
|
487
487
|
isStart: orgModalInfo.isStart,
|