diff --git a/frontend/src/components/pure/ms-card/index.vue b/frontend/src/components/pure/ms-card/index.vue index c559f45719..ba9392f0ec 100644 --- a/frontend/src/components/pure/ms-card/index.vue +++ b/frontend/src/components/pure/ms-card/index.vue @@ -1,5 +1,5 @@ -
{{ - props.environmentName - }}
+
+ {{ props.environmentName }} +
diff --git a/frontend/src/views/api-test/components/requestComposition/response/result/resValueScript.vue b/frontend/src/views/api-test/components/requestComposition/response/result/resValueScript.vue index f9513f67f3..ebec280978 100644 --- a/frontend/src/views/api-test/components/requestComposition/response/result/resValueScript.vue +++ b/frontend/src/views/api-test/components/requestComposition/response/result/resValueScript.vue @@ -30,8 +30,6 @@ props.requestResult.headers }\nBody:\n${props.requestResult.body.trim()}` : ''; - case ResponseComposition.EXTRACT: - return props.requestResult?.responseResult?.vars?.trim(); default: return ''; } diff --git a/frontend/src/views/api-test/debug/locale/en-US.ts b/frontend/src/views/api-test/debug/locale/en-US.ts index af1fc727b6..a4acc758db 100644 --- a/frontend/src/views/api-test/debug/locale/en-US.ts +++ b/frontend/src/views/api-test/debug/locale/en-US.ts @@ -206,4 +206,8 @@ export default { 'Enter the column name and corresponding value in column storage. If you want to extract the first value of the name column, enter name_1', 'apiTestDebug.responseRepeatMessage': 'The name is duplicated, please re-enter it.', 'apiTestDebug.saveAsApi': 'Save as Api', + 'apiTestDebug.assertionItem': 'Assertion item', + 'apiTestDebug.actualValue': 'Actual value', + 'apiTestDebug.condition': 'condition', + 'apiTestDebug.expectedValue': 'Expected value', }; diff --git a/frontend/src/views/api-test/debug/locale/zh-CN.ts b/frontend/src/views/api-test/debug/locale/zh-CN.ts index 1b9becf1d8..c700e9a291 100644 --- a/frontend/src/views/api-test/debug/locale/zh-CN.ts +++ b/frontend/src/views/api-test/debug/locale/zh-CN.ts @@ -192,4 +192,9 @@ export default { 'apiTestDebug.extractValueTitleTip': '输入按列存储中的列名和对应的数值,如提取name列的第一个值则输入name_1', 'apiTestDebug.responseRepeatMessage': '名称重复,请重新输入', 'apiTestDebug.saveAsApi': '另存为接口', + 'apiTestDebug.assertionItem': '断言项', + 'apiTestDebug.actualValue': '返回值', + 'apiTestDebug.condition': '匹配条件', + 'apiTestDebug.expectedValue': '匹配值', + 'apiTestDebug.extractValue': '提取值', }; diff --git a/frontend/src/views/api-test/management/components/management/mock/mockDetailDrawer.vue b/frontend/src/views/api-test/management/components/management/mock/mockDetailDrawer.vue index 10c88a26bf..7cd9924884 100644 --- a/frontend/src/views/api-test/management/components/management/mock/mockDetailDrawer.vue +++ b/frontend/src/views/api-test/management/components/management/mock/mockDetailDrawer.vue @@ -15,7 +15,7 @@ @close="handleCancel" >