| | |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | import extend from "@/extension/system/Sys_Log.js"; |
| | | import extend from "@/extension/system/Sys_Log.jsx"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | formatter: (row) => { |
| | | if (!row.requestParam) return '-'; |
| | | const preview = row.requestParam.length > 50 |
| | | ? row.requestParam.substring(0, 50) + '...' |
| | | : row.requestParam; |
| | | return `<span style="color: #409EFF; cursor: pointer;">${preview}</span>`; |
| | | } |
| | | }, |
| | | { |
| | | field: "responseParam", |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | formatter: (row) => { |
| | | if (!row.responseParam) return '-'; |
| | | const preview = row.responseParam.length > 50 |
| | | ? row.responseParam.substring(0, 50) + '...' |
| | | : row.responseParam; |
| | | return `<span style="color: #409EFF; cursor: pointer;">${preview}</span>`; |
| | | } |
| | | }, |
| | | { |
| | | field: "exceptionInfo", |