@cqsjjb/jjb-react-admin-component 3.3.12 → 3.3.13
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.
- package/PageLayout/index.less +2 -2
- package/TableAction/index.js +3 -1
- package/package.json +1 -1
package/PageLayout/index.less
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
.@{com-prefix-cls}-layout-container-tools {
|
|
23
23
|
margin-top: 0;
|
|
24
24
|
margin-bottom: 0;
|
|
25
|
-
padding: 0 20px
|
|
25
|
+
padding: 0 20px 16px 20px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.@{com-prefix-cls}-layout-container-content {
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
padding: 20px;
|
|
45
45
|
border-top: 1px #f0f0f0 solid;
|
|
46
46
|
}
|
|
47
|
-
}
|
|
47
|
+
}
|
package/TableAction/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { tools } from '@cqsjjb/jjb-common-lib';
|
|
3
|
+
import { MoreOutlined } from '@ant-design/icons';
|
|
3
4
|
import { Dropdown, Space } from 'antd';
|
|
4
5
|
export default function TableAction({
|
|
5
6
|
maximum = 3,
|
|
6
7
|
children,
|
|
7
8
|
space,
|
|
9
|
+
icon: Icon = MoreOutlined,
|
|
8
10
|
placement = 'bottomRight',
|
|
9
11
|
// 下拉菜单位置,默认 bottomRight
|
|
10
12
|
trigger = ['hover'] // 下拉触发方式,默认 hover
|
|
@@ -24,5 +26,5 @@ export default function TableAction({
|
|
|
24
26
|
},
|
|
25
27
|
placement: placement,
|
|
26
28
|
trigger: trigger
|
|
27
|
-
}, /*#__PURE__*/React.createElement("a", null,
|
|
29
|
+
}, /*#__PURE__*/React.createElement("a", null, /*#__PURE__*/React.createElement(Icon, null))));
|
|
28
30
|
}
|