Skip to content

Commit

Permalink
Merge pull request #4388 from jumpserver/pr@dev@fix_comments_style
Browse files Browse the repository at this point in the history
fixed: Fixed the presentation format of asset notes
  • Loading branch information
ZhaoJiSen authored Oct 10, 2024
2 parents 464638e + 5abc0b7 commit 78f6f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Cards/DetailCard/ItemValue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default {
formatterData = data
}
return (
<span>{formatterData}</span>
<span style={{ whiteSpace: 'pre-wrap', lineHeight: '1.2' }}>{formatterData}</span>
)
}
if (this.value instanceof Array) {
Expand Down

0 comments on commit 78f6f4b

Please sign in to comment.