@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.
@@ -78,7 +78,7 @@ var schema = {
78
78
  // placeholder: '请输入手机号',
79
79
  placeholder: '请输入账号',
80
80
  allowClear: true,
81
- maxLength: 11,
81
+ maxLength: 30,
82
82
  showCount: true,
83
83
  disabled: '{{addOrEdit === "edit"}}'
84
84
  },
@@ -466,19 +466,18 @@ var OrgList = function OrgList() {
466
466
  x: 1200
467
467
  },
468
468
  expandable: {
469
- defaultExpandAllRows: true,
470
- // 为啥不生效
471
- defaultExpandedRowKeys: expandedRowKeys,
472
- expandedRowKeys: expandedRowKeys,
473
- onExpand: function onExpand(flag, row) {
474
- if (flag) {
475
- setExpandedRowKeys([].concat(_toConsumableArray(expandedRowKeys), [row.key]));
476
- } else {
477
- setExpandedRowKeys(_toConsumableArray(expandedRowKeys).filter(function (item) {
478
- return item !== row.key;
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepinnet-components/pc",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",