@hw-component/table 1.9.60 → 1.9.61

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.
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.9.60",
3
+ "version": "1.9.61",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -122,7 +122,7 @@
122
122
 
123
123
  .@{ant-prefix}-hw-table-render-copy{
124
124
  margin-bottom: 0 !important;
125
- color:#1890ff !important;
125
+ color:@primary-color !important;
126
126
  cursor: pointer;
127
127
  }
128
128
 
@@ -1 +1,2 @@
1
1
  @ant-prefix: ant;
2
+ @primary-color: #1890ff;
@@ -71,6 +71,7 @@ export const configData = [
71
71
  title: "id",
72
72
  dataIndex: "id",
73
73
  width: 120,
74
+ valueType: "copy",
74
75
  sorter: (a, b) => {
75
76
  const { id: aNum } = a;
76
77
  const { id: bNum } = b;