修复查看任务日志,列表位置重置

This commit is contained in:
whyour 2023-02-07 21:29:56 +08:00
parent cc9a17afa3
commit 1bc64a23e3

View File

@ -924,6 +924,7 @@ const Crontab = () => {
const vComponents = useMemo(() => { const vComponents = useMemo(() => {
return VList({ return VList({
height: tableScrollHeight!, height: tableScrollHeight!,
resetTopWhenDataChange: false,
}); });
}, [tableScrollHeight]); }, [tableScrollHeight]);