ソースを参照

Merge pull request #3267 from feitianbubu/pr/eb2ed7806ae5f2348681ce9fcff3f3572f535919

feat: add logs content tooltip
Seefs 4 週間 前
コミット
a4fd2246ba

+ 4 - 0
web/src/components/table/usage-logs/UsageLogsColumnDefs.jsx

@@ -897,6 +897,10 @@ export const getLogsColumns = ({
             <Typography.Paragraph
               ellipsis={{
                 rows: 2,
+                showTooltip: {
+                  type: 'popover',
+                  opts: { style: { width: 240 } },
+                },
               }}
               style={{ maxWidth: 200, marginBottom: 0 }}
             >