@hw-component/table 1.9.41 → 1.9.43
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/DialogTable/ModalTable.js +1 -2
- package/es/index.css +3 -0
- package/lib/DialogTable/ModalTable.js +1 -2
- package/lib/index.css +3 -0
- package/package.json +1 -1
- package/src/components/DialogTable/ModalTable.tsx +1 -1
- package/src/components/index.less +3 -1
- package/src/pages/ModalTable/index.tsx +3 -0
- package/src/pages/Table/index.tsx +10 -7
|
@@ -99,8 +99,7 @@ var ModalTable = (function (_ref) {
|
|
|
99
99
|
title: title,
|
|
100
100
|
width: width,
|
|
101
101
|
bodyStyle: _objectSpread({
|
|
102
|
-
padding:
|
|
103
|
-
paddingBottom: 12
|
|
102
|
+
padding: "0px 0px 12px"
|
|
104
103
|
}, bodyStyle),
|
|
105
104
|
afterClose: function afterClose() {
|
|
106
105
|
currentTable.form.resetFields();
|
package/es/index.css
CHANGED
|
@@ -121,6 +121,9 @@
|
|
|
121
121
|
margin-right: 12px;
|
|
122
122
|
overflow: auto;
|
|
123
123
|
}
|
|
124
|
+
.ant-hw-table-header-title-box .ant-hw-table-header-title-box-content {
|
|
125
|
+
white-space: nowrap;
|
|
126
|
+
}
|
|
124
127
|
.ant-hw-table-render-copy {
|
|
125
128
|
margin-bottom: 0 !important;
|
|
126
129
|
color: #1890ff !important;
|
|
@@ -102,8 +102,7 @@ var ModalTable = (function (_ref) {
|
|
|
102
102
|
title: title,
|
|
103
103
|
width: width,
|
|
104
104
|
bodyStyle: _objectSpread({
|
|
105
|
-
padding:
|
|
106
|
-
paddingBottom: 12
|
|
105
|
+
padding: "0px 0px 12px"
|
|
107
106
|
}, bodyStyle),
|
|
108
107
|
afterClose: function afterClose() {
|
|
109
108
|
currentTable.form.resetFields();
|
package/lib/index.css
CHANGED
|
@@ -121,6 +121,9 @@
|
|
|
121
121
|
margin-right: 12px;
|
|
122
122
|
overflow: auto;
|
|
123
123
|
}
|
|
124
|
+
.ant-hw-table-header-title-box .ant-hw-table-header-title-box-content {
|
|
125
|
+
white-space: nowrap;
|
|
126
|
+
}
|
|
124
127
|
.ant-hw-table-render-copy {
|
|
125
128
|
margin-bottom: 0 !important;
|
|
126
129
|
color: #1890ff !important;
|
package/package.json
CHANGED
|
@@ -76,7 +76,7 @@ export default ({
|
|
|
76
76
|
destroyOnClose
|
|
77
77
|
title={title}
|
|
78
78
|
width={width}
|
|
79
|
-
bodyStyle={{ padding:
|
|
79
|
+
bodyStyle={{ padding:"0px 0px 12px", ...bodyStyle }}
|
|
80
80
|
afterClose={() => {
|
|
81
81
|
currentTable.form.resetFields();
|
|
82
82
|
afterClose?.();
|
|
@@ -167,12 +167,12 @@ export default () => {
|
|
|
167
167
|
>
|
|
168
168
|
获取
|
|
169
169
|
</div>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
{/*<ProTable*/}
|
|
171
|
+
{/* columns={configData}*/}
|
|
172
|
+
{/* scroll={{ x: 1000 }}*/}
|
|
173
|
+
{/* loading={loading}*/}
|
|
174
|
+
{/* dataSource={data}*/}
|
|
175
|
+
{/*/>*/}
|
|
176
176
|
<HTable
|
|
177
177
|
configData={configData}
|
|
178
178
|
rowKey={(rowData, index) => {
|
|
@@ -199,7 +199,10 @@ export default () => {
|
|
|
199
199
|
persistenceType: "localStorage",
|
|
200
200
|
}}
|
|
201
201
|
formInitValues={{
|
|
202
|
-
|
|
202
|
+
mobileList: "mobileList",
|
|
203
|
+
}}
|
|
204
|
+
request={(params)=>{
|
|
205
|
+
console.log(params)
|
|
203
206
|
}}
|
|
204
207
|
tableExtraRender={() => {
|
|
205
208
|
return <div>ffff</div>;
|