diff --git a/frontend/src/business/components/api/definition/components/assertion/ApiJsonpathSuggest.vue b/frontend/src/business/components/api/definition/components/assertion/ApiJsonpathSuggest.vue index 077524e7e5..3efacbf922 100644 --- a/frontend/src/business/components/api/definition/components/assertion/ApiJsonpathSuggest.vue +++ b/frontend/src/business/components/api/definition/components/assertion/ApiJsonpathSuggest.vue @@ -67,10 +67,11 @@ export default { this.data = {}; try { // 解决精度丢失问题 - let stringedJSON = objStr.replace(/:\s*([-+Ee0-9.]+)/g, ': "$1"'); - let param = JSON.parse(stringedJSON); + // let stringedJSON = objStr.replace(/:\s*([-+Ee0-9.]+)/g, ': "$1"'); + // 一些情况会解析失败,先注释掉 + let param = JSON.parse(objStr); if (param instanceof Array) { - this.$warning(this.$t('api_test.request.assertions.json_path_err')); + this.$warning('不支持解析JSON数组'); return; } this.data = param; diff --git a/frontend/src/business/components/settings/personal/TapdUserInfo.vue b/frontend/src/business/components/settings/personal/TapdUserInfo.vue index f9476b685c..aab37d4e44 100644 --- a/frontend/src/business/components/settings/personal/TapdUserInfo.vue +++ b/frontend/src/business/components/settings/personal/TapdUserInfo.vue @@ -10,11 +10,11 @@ - - - {{$t('commons.validate')}} - - + + + + + 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 fa8f5a8a07..2b718a213b 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 @@ -517,17 +517,13 @@ export default { } .container >>> .el-card__body { - height: calc(100vh - 50px); + height: calc(100vh - 60px); } .comment-card >>> .el-card__header { padding: 0 20px; } -.comment-card >>> .el-card__body { - height: calc(100vh - 100px); -} - .case_container > .el-row { margin-top: 1%; }