@hw-component/table 1.10.38 → 1.10.40

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.
@@ -156,10 +156,17 @@ var TagsComponent = function TagsComponent(props) {
156
156
  content: popoverContentRender ? popoverContentRender(jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
157
157
  maxLen: null,
158
158
  extra: null
159
- }))) : jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
160
- maxLen: null,
161
- extra: null
162
- })),
159
+ }))) : jsx("div", {
160
+ style: {
161
+ maxWidth: 368,
162
+ maxHeight: 488,
163
+ overflow: "auto"
164
+ },
165
+ children: jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
166
+ maxLen: null,
167
+ extra: null
168
+ }))
169
+ }),
163
170
  children: jsxs(Tag, {
164
171
  children: ["...\u7B49", data.length, "\u4E2A"]
165
172
  })
@@ -159,10 +159,17 @@ var TagsComponent = function TagsComponent(props) {
159
159
  content: popoverContentRender ? popoverContentRender(jsxRuntime.jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
160
160
  maxLen: null,
161
161
  extra: null
162
- }))) : jsxRuntime.jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
163
- maxLen: null,
164
- extra: null
165
- })),
162
+ }))) : jsxRuntime.jsx("div", {
163
+ style: {
164
+ maxWidth: 368,
165
+ maxHeight: 488,
166
+ overflow: "auto"
167
+ },
168
+ children: jsxRuntime.jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
169
+ maxLen: null,
170
+ extra: null
171
+ }))
172
+ }),
166
173
  children: jsxRuntime.jsxs(antd.Tag, {
167
174
  children: ["...\u7B49", data.length, "\u4E2A"]
168
175
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.10.38",
3
+ "version": "1.10.40",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -149,7 +149,9 @@ const TagsComponent = (props: IProps) => {
149
149
  <TagsComponent {...childProps} maxLen={null} extra={null} />
150
150
  )
151
151
  ) : (
152
- <TagsComponent {...childProps} maxLen={null} extra={null} />
152
+ <div style={{maxWidth:368,maxHeight:488,overflow:"auto"}}>
153
+ <TagsComponent {...childProps} maxLen={null} extra={null} />
154
+ </div>
153
155
  )
154
156
  }
155
157
  >
@@ -256,9 +256,9 @@ export default () => {
256
256
  rowSelection={{
257
257
  preserveSelectedRowKeys: true,
258
258
  allPageCheck: false,
259
- // onChange: (keys, data)=>{
260
- // console.log(keys, data);
261
- // },
259
+ onChange: (keys, data)=>{
260
+ console.log(keys, data);
261
+ },
262
262
  allCheckType: "batch",
263
263
  }}
264
264
  affixProps={{