暂时去掉 vlist

This commit is contained in:
whyour
2023-02-24 23:04:18 +08:00
parent e05b0a2491
commit 697bcb5922
3 changed files with 54 additions and 84 deletions
-10
View File
@@ -921,13 +921,6 @@ const Crontab = () => {
setViewConf(view ? view : null);
};
const vComponents = useMemo(() => {
return VList({
height: tableScrollHeight!,
resetTopWhenDataChange: false,
});
}, [tableScrollHeight]);
return (
<PageContainer
className="ql-container-wrapper crontab-wrapper ql-container-wrapper-has-tab"
@@ -939,8 +932,6 @@ const Crontab = () => {
enterButton
allowClear
loading={loading}
value={searchValue}
onChange={(e) => setSearchValue(e.target.value)}
onSearch={onSearch}
/>,
<Button key="2" type="primary" onClick={() => addCron()}>
@@ -1062,7 +1053,6 @@ const Crontab = () => {
rowSelection={rowSelection}
rowClassName={getRowClassName}
onChange={onPageChange}
components={vComponents}
/>
</div>
<CronLogModal