环境变量值增加复制功能

This commit is contained in:
whyour
2022-11-03 17:34:36 +08:00
parent 73c6fd18ed
commit 19a58a3510
3 changed files with 8 additions and 5 deletions
+3 -2
View File
@@ -286,7 +286,7 @@ const Dependence = () => {
setTimeout(() => {
if (selectedRowIds.length === 0 || selectedIds.length === 0) {
setTableScrollHeight(getTableScroll({ extraHeight: 87 }));
setTableScrollHeight(getTableScroll({ extraHeight: 59 }));
}
});
};
@@ -370,7 +370,7 @@ const Dependence = () => {
useEffect(() => {
if (tableRef.current) {
setTableScrollHeight(getTableScroll({ extraHeight: 87 }));
setTableScrollHeight(getTableScroll({ extraHeight: 59 }));
}
}, []);
@@ -470,6 +470,7 @@ const Dependence = () => {
);
const onTabChange = (activeKey: string) => {
setSelectedRowIds([]);
setType(activeKey);
};