修复log样式

This commit is contained in:
hanhh 2021-05-28 23:59:14 +08:00
parent bcdca5084c
commit 2f89494185

View File

@ -99,7 +99,9 @@ const CronLogModal = ({
onOk={() => cancel()}
onCancel={() => cancel()}
>
{!loading && value && <pre>{value}</pre>}
{!loading && value && (
<pre style={{ whiteSpace: 'break-spaces' }}>{value}</pre>
)}
</Modal>
);
};