@hw-component/table 1.9.82 → 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.
|
@@ -112,9 +112,11 @@ var TagsComponent = function TagsComponent(props) {
|
|
|
112
112
|
}));
|
|
113
113
|
}), !moreLen ? null : jsx(Popover, {
|
|
114
114
|
content: popoverContentRender ? popoverContentRender(jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
|
|
115
|
-
maxLen: null
|
|
115
|
+
maxLen: null,
|
|
116
|
+
extra: null
|
|
116
117
|
}))) : jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
|
|
117
|
-
maxLen: null
|
|
118
|
+
maxLen: null,
|
|
119
|
+
extra: null
|
|
118
120
|
})),
|
|
119
121
|
children: jsxs(Tag, {
|
|
120
122
|
children: ["...\u7B49", data.length, "\u4E2A"]
|
|
@@ -115,9 +115,11 @@ var TagsComponent = function TagsComponent(props) {
|
|
|
115
115
|
}));
|
|
116
116
|
}), !moreLen ? null : jsxRuntime.jsx(antd.Popover, {
|
|
117
117
|
content: popoverContentRender ? popoverContentRender(jsxRuntime.jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
|
|
118
|
-
maxLen: null
|
|
118
|
+
maxLen: null,
|
|
119
|
+
extra: null
|
|
119
120
|
}))) : jsxRuntime.jsx(TagsComponent, _objectSpread(_objectSpread({}, childProps), {}, {
|
|
120
|
-
maxLen: null
|
|
121
|
+
maxLen: null,
|
|
122
|
+
extra: null
|
|
121
123
|
})),
|
|
122
124
|
children: jsxRuntime.jsxs(antd.Tag, {
|
|
123
125
|
children: ["...\u7B49", data.length, "\u4E2A"]
|
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"
|
|
@@ -120,10 +120,10 @@ const TagsComponent = (props: IProps) => {
|
|
|
120
120
|
content={
|
|
121
121
|
popoverContentRender ? (
|
|
122
122
|
popoverContentRender(
|
|
123
|
-
<TagsComponent {...childProps} maxLen={null} />
|
|
123
|
+
<TagsComponent {...childProps} maxLen={null} extra={null}/>
|
|
124
124
|
)
|
|
125
125
|
) : (
|
|
126
|
-
<TagsComponent {...childProps} maxLen={null} />
|
|
126
|
+
<TagsComponent {...childProps} maxLen={null} extra={null}/>
|
|
127
127
|
)
|
|
128
128
|
}
|
|
129
129
|
>
|
|
@@ -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>
|