Merge remote-tracking branch 'origin/master'

This commit is contained in:
Captain.B 2021-01-21 10:56:20 +08:00
commit abe19bc6af
2 changed files with 6 additions and 2 deletions

View File

@ -101,10 +101,10 @@
this.mode = mode;
},
setBodyType() {
if (!this.response.headers) {
if (!this.response.responseResult.headers) {
return;
}
if (this.response.headers.indexOf("Content-Type: application/json") > 0) {
if (this.response.responseResult.headers.indexOf("Content-Type: application/json") > 0) {
if (this.$refs.modeDropdown) {
this.$refs.modeDropdown.handleCommand(BODY_FORMAT.JSON);
this.msCodeReload();

View File

@ -762,4 +762,8 @@ p {
white-space: pre-line;
line-height: 20px;
}
.head-bar {
z-index: 999;
}
</style>