diff --git a/frontend/src/business/components/api/definition/components/response/ResponseResult.vue b/frontend/src/business/components/api/definition/components/response/ResponseResult.vue index c6f64ebdcc..83ed95ee60 100644 --- a/frontend/src/business/components/api/definition/components/response/ResponseResult.vue +++ b/frontend/src/business/components/api/definition/components/response/ResponseResult.vue @@ -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(); diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue index 6ec4ce64eb..f54379606e 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue @@ -762,4 +762,8 @@ p { white-space: pre-line; line-height: 20px; } + +.head-bar { + z-index: 999; +}