@hw-component/table 1.10.38 → 1.10.39
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,15 @@ 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(
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
159
|
+
}))) : jsx("div", {
|
|
160
|
+
style: {
|
|
161
|
+
maxWidth: 368
|
|
162
|
+
},
|
|
163
|
+
children: jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
|
|
164
|
+
maxLen: null,
|
|
165
|
+
extra: null
|
|
166
|
+
}))
|
|
167
|
+
}),
|
|
163
168
|
children: jsxs(Tag, {
|
|
164
169
|
children: ["...\u7B49", data.length, "\u4E2A"]
|
|
165
170
|
})
|
|
@@ -159,10 +159,15 @@ 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(
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
}))) : jsxRuntime.jsx("div", {
|
|
163
|
+
style: {
|
|
164
|
+
maxWidth: 368
|
|
165
|
+
},
|
|
166
|
+
children: jsxRuntime.jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
|
|
167
|
+
maxLen: null,
|
|
168
|
+
extra: null
|
|
169
|
+
}))
|
|
170
|
+
}),
|
|
166
171
|
children: jsxRuntime.jsxs(antd.Tag, {
|
|
167
172
|
children: ["...\u7B49", data.length, "\u4E2A"]
|
|
168
173
|
})
|
package/package.json
CHANGED
|
@@ -149,7 +149,9 @@ const TagsComponent = (props: IProps) => {
|
|
|
149
149
|
<TagsComponent {...childProps} maxLen={null} extra={null} />
|
|
150
150
|
)
|
|
151
151
|
) : (
|
|
152
|
-
|
|
152
|
+
<div style={{maxWidth:368}}>
|
|
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
|
-
|
|
260
|
-
|
|
261
|
-
|
|
259
|
+
onChange: (keys, data)=>{
|
|
260
|
+
console.log(keys, data);
|
|
261
|
+
},
|
|
262
262
|
allCheckType: "batch",
|
|
263
263
|
}}
|
|
264
264
|
affixProps={{
|