@hw-component/table 1.9.83 → 1.9.84
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/package.json +3 -3
- package/src/pages/Table/index.tsx +2 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hw-component/table",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.84",
|
|
4
4
|
"description": "基于antd二次开发table组件",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"table"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
|
53
53
|
"@umijs/fabric": "^2.14.1",
|
|
54
54
|
"ahooks": "2.10.9",
|
|
55
|
-
"antd": "4.
|
|
55
|
+
"antd": "4.24.12",
|
|
56
56
|
"autoprefixer": "^10.4.14",
|
|
57
57
|
"babel-loader": "^9.1.2",
|
|
58
58
|
"css-loader": "^6.7.4",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@ant-design/pro-table": "2.70.0",
|
|
89
89
|
"@hw-component/form": "^1.9.12",
|
|
90
90
|
"ahooks": "2.10.9",
|
|
91
|
-
"antd": "4.
|
|
91
|
+
"antd": "4.24.12",
|
|
92
92
|
"react": "17.0.0",
|
|
93
93
|
"react-color": "^2.19.3",
|
|
94
94
|
"react-dom": "17.0.2"
|
|
@@ -150,15 +150,7 @@ export default () => {
|
|
|
150
150
|
formInitValues={{
|
|
151
151
|
deviceType: "1",
|
|
152
152
|
}}
|
|
153
|
-
|
|
154
|
-
console.log(params, "params");
|
|
155
|
-
return Promise.resolve({
|
|
156
|
-
current: 1,
|
|
157
|
-
records: maker(`第${100}页`),
|
|
158
|
-
size: 10,
|
|
159
|
-
total: 100,
|
|
160
|
-
});
|
|
161
|
-
}}
|
|
153
|
+
dataSource={[{},{},{}]}
|
|
162
154
|
headerTitle={
|
|
163
155
|
<Space size={8}>
|
|
164
156
|
<div style={{ width: 1000 }}>
|
|
@@ -195,11 +187,7 @@ export default () => {
|
|
|
195
187
|
);
|
|
196
188
|
},
|
|
197
189
|
}}
|
|
198
|
-
pagination={
|
|
199
|
-
actionRender:()=>{
|
|
200
|
-
return <div>你好</div>
|
|
201
|
-
}
|
|
202
|
-
}}
|
|
190
|
+
pagination={false}
|
|
203
191
|
/>
|
|
204
192
|
</div>
|
|
205
193
|
</HFormConfigProvider>
|