@cqsjjb/jjb-react-admin-component 3.3.1-beta.10 → 3.3.1-beta.11

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.
@@ -59,7 +59,8 @@ const ListDataContainer = /*#__PURE__*/forwardRef(({
59
59
  showQuickJumper: true
60
60
  },
61
61
  tableProps = {},
62
- proTable = false
62
+ proTable = false,
63
+ onRest = () => {}
63
64
  }, ref) => {
64
65
  const [form] = Form.useForm();
65
66
  const [tableData, setTableData] = useState([]);
@@ -130,12 +131,12 @@ const ListDataContainer = /*#__PURE__*/forwardRef(({
130
131
  obj[item.name] = undefined;
131
132
  return obj;
132
133
  }, {}));
134
+ onRest && onRest(form);
133
135
  // 重置分页并使用内部默认参数查询
134
136
  setPagination(initialPagination);
135
137
  loadDataSource();
136
138
  };
137
139
  const handlePaginationChange = newPagination => {
138
- console.warn("ssssssssssss", newPagination);
139
140
  // 更新分页后,用新分页参数查询
140
141
  setPagination({
141
142
  ...newPagination,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqsjjb/jjb-react-admin-component",
3
- "version": "3.3.1-beta.10",
3
+ "version": "3.3.1-beta.11",
4
4
  "description": "jjb-react-admin-组件库@new",
5
5
  "main": "index.js",
6
6
  "author": "jjb-front-team",