fixed: Fixed remarks text wrapping issue

This commit is contained in:
zhaojisen 2024-12-10 16:03:00 +08:00 committed by Bryan
parent 456227abcf
commit dba1540953

View File

@ -78,7 +78,7 @@ export default {
formatterData = data formatterData = data
} }
return ( return (
<span>{formatterData}</span> <span style={{ whiteSpace: 'pre-wrap', wordBreak: 'break-word', lineHeight: '1.2' }}>{formatterData}</span>
) )
} }
if (this.value instanceof Array) { if (this.value instanceof Array) {