@yeeyoon/library 3.2.3 → 3.2.4
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.
@@ -7,7 +7,7 @@ import { QuestionCircleOutlined } from '@ant-design/icons';
|
|
7
7
|
import { queryOidcUserCardData } from './service';
|
8
8
|
|
9
9
|
function InfoCart(props) {
|
10
|
-
const { baseMsg } = props;
|
10
|
+
const { baseMsg, ...rest } = props;
|
11
11
|
const reg = /^(\d{3})\d*(\d{4})$/;
|
12
12
|
const [cardData, setCardData] = useState({});
|
13
13
|
const [chartData, setChartData] = useState({});
|
@@ -70,7 +70,7 @@ function InfoCart(props) {
|
|
70
70
|
}
|
71
71
|
};
|
72
72
|
return (
|
73
|
-
<div className={styles['info-cart-content']}>
|
73
|
+
<div className={styles['info-cart-content']} {...rest}>
|
74
74
|
<div className={styles['info-cart-base']}>
|
75
75
|
<Image
|
76
76
|
width="50px"
|
@@ -120,7 +120,7 @@ function InfoCart(props) {
|
|
120
120
|
type="monotone"
|
121
121
|
dataKey="贡献数据数"
|
122
122
|
stroke="#7367F0"
|
123
|
-
strokeWidth="
|
123
|
+
strokeWidth="2"
|
124
124
|
dot={false}
|
125
125
|
/>
|
126
126
|
<Tooltip cursor={false} />
|