fix: remove view code loading

This commit is contained in:
jialin
2024-07-15 16:26:58 +08:00
parent cb4c984e96
commit 0270320579
5 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export const yAxis = {
// max: 100,
// min: 0,
nameTextStyle: {
padding: [0, 0, 0, -25]
padding: [0, 0, 0, -20]
},
splitLine: {
show: true,
@@ -61,13 +61,13 @@ const TableRow: React.FC<
}
}, [rowSelection]);
useEffect(() => {
if (expandedRowKeys?.includes(record[rowKey])) {
setExpanded(true);
} else {
setExpanded(false);
}
}, [expandedRowKeys]);
// useEffect(() => {
// if (expandedRowKeys?.includes(record[rowKey])) {
// setExpanded(true);
// } else {
// setExpanded(false);
// }
// }, [expandedRowKeys]);
useEffect(() => {
return () => {