| | |
| | | return `<span style="color: #409EFF; cursor: pointer;">${preview}</span>`; |
| | | } |
| | | }, |
| | | { field: "errorMessage", title: "错误信息", width: 250 }, |
| | | { |
| | | field: "errorMessage", |
| | | title: "错误信息", |
| | | width: 250, |
| | | |
| | | formatter: (row) => { |
| | | if (!row.responseJson) return '-'; |
| | | const preview = row.responseJson.length > 50 |
| | | ? row.responseJson.substring(0, 50) + '...' |
| | | : row.responseJson; |
| | | return `<span style="color: #409EFF; cursor: pointer;">${preview}</span>`; |
| | | } |
| | | }, |
| | | { field: "elapsedMs", title: "耗时(ms)", width: 100, sortable: true }, |
| | | { field: "createDate", title: "调用时间", width: 160, sortable: true }, |
| | | { field: "creator", title: "操作人", width: 100 } |