@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 +3 -0
- package/lib/index.css +3 -0
- package/package.json +1 -1
- package/src/components/index.less +3 -0
- package/src/pages/Table/index.tsx +3 -4
package/es/index.css
CHANGED
package/lib/index.css
CHANGED
package/package.json
CHANGED
|
@@ -109,8 +109,7 @@ export default () => {
|
|
|
109
109
|
return <div>你大爷</div>;
|
|
110
110
|
}}
|
|
111
111
|
request={(params) => {
|
|
112
|
-
|
|
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:
|
|
124
|
+
size:size,
|
|
126
125
|
current: current.toString(10),
|
|
127
|
-
total: "
|
|
126
|
+
total: "1000",
|
|
128
127
|
records: arrayData,
|
|
129
128
|
});
|
|
130
129
|
}, 2000);
|