修复任务详情样式

This commit is contained in:
whyour 2022-03-07 23:56:15 +08:00
parent 0051260171
commit 38df66a5b1

View File

@ -63,7 +63,6 @@ const CronDetailModal = ({
const contentList: any = {
log: (
<List
style={{ height: 'calc(80vh - 236px)', overflowY: 'auto' }}
dataSource={logs}
loading={loading}
renderItem={(item) => (
@ -246,6 +245,7 @@ const CronDetailModal = ({
onTabChange={(key) => {
onTabChange(key);
}}
bodyStyle={{ height: 'calc(80vh - 188px)', overflowY: 'auto' }}
>
{contentList[activeTabKey]}
</Card>