Commit 2414361833695df38a0f531e9cdc2f8f401cfe2b
1 parent
206f332c
点击接口日志重置,同时重置请求时间为默认值
Signed-off-by: TanYibin <5491541@qq.com>
Showing
1 changed file
with
4 additions
and
12 deletions
ant-design-vue-jeecg/src/views/system/monitor/ApiLogList.vue
... | ... | @@ -110,27 +110,19 @@ |
110 | 110 | <a-button @click="copyToClipboard(record.requestHeader)" type="link" icon="copy" style="vertical-align: revert;"></a-button> |
111 | 111 | <span style="vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color:#b3b3b3;">请求头:</span> |
112 | 112 | <a-button @click="record.expandHeader = !record.expandHeader" type="link" icon="down-circle" style="vertical-align: revert;"></a-button> |
113 | - <span v-if="record.expandHeader" style="padding:0 0 0 32px;display: block; vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color:#b3b3b3;"> | |
114 | - {{ record.requestHeader }} | |
115 | - </span> | |
113 | + <span v-if="record.expandHeader" style="padding:0 0 0 32px;display: block; vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color:#b3b3b3;">{{ record.requestHeader }}</span> | |
116 | 114 | </div> |
117 | 115 | <div> |
118 | 116 | <a-button @click="copyToClipboard(record.requestBody)" type="link" icon="copy" style="vertical-align: revert;"></a-button> |
119 | - <span style="vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color: saddlebrown;">请求内容: | |
120 | - {{ record.requestBody }} | |
121 | - </span> | |
117 | + <span style="vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color: saddlebrown;">请求内容:{{ record.requestBody }}</span> | |
122 | 118 | </div> |
123 | 119 | <div> |
124 | 120 | <a-button @click="copyToClipboard(record.responseBody)" type="link" icon="copy" style="vertical-align: revert;"></a-button> |
125 | - <span style="vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color:#0066CC;">响应内容: | |
126 | - {{ record.responseBody }} | |
127 | - </span> | |
121 | + <span style="vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color:#0066CC;">响应内容:{{ record.responseBody }}</span> | |
128 | 122 | </div> |
129 | 123 | <div v-if="record.exception"> |
130 | 124 | <a-button @click="copyToClipboard(record.exception)" type="link" icon="copy" style="vertical-align: revert;"></a-button> |
131 | - <span style="vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color:red">异常堆栈信息: | |
132 | - {{ record.exception }} | |
133 | - </span> | |
125 | + <span style="vertical-align: initial; word-break:break-all; white-space:pre-wrap; overflow:hidden; color:red">异常堆栈信息:{{ record.exception }}</span> | |
134 | 126 | </div> |
135 | 127 | </div> |
136 | 128 | </template> |
... | ... |