@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.
@@ -99,8 +99,7 @@ var ModalTable = (function (_ref) {
99
99
  title: title,
100
100
  width: width,
101
101
  bodyStyle: _objectSpread({
102
- padding: 0,
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: 0,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.9.41",
3
+ "version": "1.9.43",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -76,7 +76,7 @@ export default ({
76
76
  destroyOnClose
77
77
  title={title}
78
78
  width={width}
79
- bodyStyle={{ padding: 0, paddingBottom: 12, ...bodyStyle }}
79
+ bodyStyle={{ padding:"0px 0px 12px", ...bodyStyle }}
80
80
  afterClose={() => {
81
81
  currentTable.form.resetFields();
82
82
  afterClose?.();
@@ -115,7 +115,9 @@
115
115
  position: relative;
116
116
  margin-right: 12px;
117
117
  overflow: auto;
118
-
118
+ .@{ant-prefix}-hw-table-header-title-box-content{
119
+ white-space: nowrap;
120
+ }
119
121
  }
120
122
 
121
123
  .@{ant-prefix}-hw-table-render-copy{
@@ -167,6 +167,9 @@ export default () => {
167
167
  </div>
168
168
  ),
169
169
  }}
170
+ contentRender={()=>{
171
+ return <div style={{height:200,backgroundColor:"red"}}></div>
172
+ }}
170
173
  />
171
174
  <HTable configData={configData} headerTitle={<Test />} />
172
175
  </>
@@ -167,12 +167,12 @@ export default () => {
167
167
  >
168
168
  获取
169
169
  </div>
170
- <ProTable
171
- columns={configData}
172
- scroll={{ x: 1000 }}
173
- loading={loading}
174
- dataSource={data}
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
- name2: 1,
202
+ mobileList: "mobileList",
203
+ }}
204
+ request={(params)=>{
205
+ console.log(params)
203
206
  }}
204
207
  tableExtraRender={() => {
205
208
  return <div>ffff</div>;