perf: md解析样式

This commit is contained in:
archer
2023-03-05 15:28:46 +08:00
parent c03a7db633
commit 45ad3ba22a
5 changed files with 23 additions and 10 deletions

View File

@@ -306,7 +306,7 @@ const Chat = () => {
isChatting={isChatting && index === chatList.length - 1}
/>
) : (
<Box whiteSpace={'pre'}>{item.value}</Box>
<Box whiteSpace={'pre-wrap'}>{item.value}</Box>
)}
</Box>
</Flex>