@deepinnet-components/pc 0.0.31 → 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.
@@ -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
  },
@@ -168,7 +168,7 @@ var AccountList = function AccountList() {
168
168
  title: '操作',
169
169
  dataIndex: 'action',
170
170
  fixed: 'right',
171
- width: 120,
171
+ width: 140,
172
172
  align: 'left',
173
173
  render: function render(_, row) {
174
174
  var operationList = [{
@@ -464,24 +464,24 @@ var OrgList = function OrgList() {
464
464
  rowKey: "key",
465
465
  scroll: {
466
466
  x: 1200
467
- },
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
- },
482
- childrenColumnName: 'listChildren',
483
- indentSize: 50
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepinnet-components/pc",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",