@hw-component/table 1.1.6 → 1.1.7

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.
package/es/index.css CHANGED
@@ -10,6 +10,9 @@
10
10
  border-bottom-left-radius: 4px;
11
11
  border-bottom-right-radius: 4px;
12
12
  }
13
+ .ant-hw-table-body .ant-hw-table-pagination .ant-select {
14
+ width: auto;
15
+ }
13
16
  .ant-hw-table-body .ant-pro-card-body {
14
17
  padding-bottom: 0px;
15
18
  }
package/lib/index.css CHANGED
@@ -10,6 +10,9 @@
10
10
  border-bottom-left-radius: 4px;
11
11
  border-bottom-right-radius: 4px;
12
12
  }
13
+ .ant-hw-table-body .ant-hw-table-pagination .ant-select {
14
+ width: auto;
15
+ }
13
16
  .ant-hw-table-body .ant-pro-card-body {
14
17
  padding-bottom: 0px;
15
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -9,6 +9,9 @@
9
9
  background-color:#ffffff;
10
10
  border-bottom-left-radius: 4px;
11
11
  border-bottom-right-radius: 4px;
12
+ .@{ant-prefix}-select{
13
+ width: auto;
14
+ }
12
15
  }
13
16
  .@{ant-prefix}-pro-card-body{
14
17
  padding-bottom: 0px;
@@ -109,8 +109,7 @@ export default () => {
109
109
  return <div>你大爷</div>;
110
110
  }}
111
111
  request={(params) => {
112
- console.log(params, ".....");
113
- const { current = 1 } = params;
112
+ const { current = 1 ,size="10"} = params;
114
113
  const arrayData = [];
115
114
  for (let i = 0; i < 100; i = i + 1) {
116
115
  arrayData.push({
@@ -122,9 +121,9 @@ export default () => {
122
121
  setTimeout(() => {
123
122
  // reject(new Error("错误"));
124
123
  resolve({
125
- size: "100",
124
+ size:size,
126
125
  current: current.toString(10),
127
- total: "100",
126
+ total: "1000",
128
127
  records: arrayData,
129
128
  });
130
129
  }, 2000);