mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-27 05:35:49 +03:00
[GH-ISSUE #312] [Feature] 命令执行结果日志中显示时自动换行显示,不显示为\n #191
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JiyongShi on GitHub (Nov 7, 2024).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/312
Originally assigned to: @fudiwei on GitHub.
功能描述
部署步骤中执行命令返回结果如果为多行时,现在web上查看日志时显示为:“SSH 执行命令成功:xxx \n line2\n line3\n lines4”,这种形式阅读不友好,建议在web端显示时对info[]对象中逐条字符串做处理,\n做换行显示
动机
日志阅读更友好
替代方案
github.com/usual2970/certimate@44332b9d07/ui/src/pages/history/History.tsx (L130C38-L130C39)style whiteSpace: 'pre-line'