Skip to content

Commit

Permalink
fix:Authorization Code模式下REQUEST INFO错误显示为response的body
Browse files Browse the repository at this point in the history
  • Loading branch information
Laceyoo committed Dec 8, 2023
1 parent d478017 commit 1e0f815
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,7 @@ const handleDrag = (floatButton, container) => {
<div class="http-content" style="text-align: start; padding: 0em; position: relative; overflow: auto; max-height: 350px; width: 100%">
<el-scrollbar class="http-render">
<highlightjs autodetect :code="requestInfo.code"/>
<highlightjs v-if="isJsonResponse(responseInfo.header)" autodetect :code="formatJson(responseInfo.body)"/>
<highlightjs v-else autodetect :code="responseInfo.body"></highlightjs>
<highlightjs :class="{ 'bodyWrap': isWrapRes }" autodetect :code="requestInfo.body"/>
</el-scrollbar>
<el-checkbox v-model="isWrapRes" label="Wrap Lines"
size="large"/>
Expand Down

0 comments on commit 1e0f815

Please sign in to comment.