@deepinnet-components/pc 0.0.32 → 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.
|
@@ -466,19 +466,18 @@ var OrgList = function OrgList() {
|
|
|
466
466
|
x: 1200
|
|
467
467
|
},
|
|
468
468
|
expandable: {
|
|
469
|
-
defaultExpandAllRows: true,
|
|
470
|
-
//
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
},
|
|
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
|
+
// },
|
|
482
481
|
childrenColumnName: 'listChildren',
|
|
483
482
|
indentSize: 50
|
|
484
483
|
},
|