访问日志实现记录和显示requestBody

This commit is contained in:
刘祥超
2021-12-07 15:03:48 +08:00
parent 56010e7203
commit b72d91d0d4
4 changed files with 75 additions and 26 deletions

View File

@@ -1,4 +1,5 @@
{$layout "layout_popup"}
{$template "/code_editor"}
<div class="ui menu tabular tiny">
<a class="item" :class="{active: tab == 'summary'}" @click.prevent="switchTab('summary')">综合信息</a>
@@ -87,6 +88,11 @@
<td class="title">{{k}}</td>
<td>{{v.values[0]}}</td>
</tr>
<tr v-if="requestBody.length > 0">
<td colspan="2">
<source-code-box :type="requestContentType" width="0" height="200">{{requestBody}}</source-code-box>
</td>
</tr>
</table>
</div>