From d6d0682e964602505e689ad37b0d9c6eedbb351d Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 9 Jul 2021 10:41:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20TC?= =?UTF-8?q?P=E6=8E=A5=E5=8F=A3=E6=A1=88=E4=BE=8B=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TCP接口案例编辑模块变更,与接口编辑模块相同 --- .../api/definition/components/case/ApiCaseItem.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index bab622424c..4b2ba6d11e 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -96,7 +96,7 @@

{{ $t('api_test.definition.request.req_param') }}

- + @@ -133,7 +133,7 @@ import ApiEnvironmentConfig from "../environment/ApiEnvironmentConfig"; import MsApiAssertions from "../assertion/ApiAssertions"; import MsSqlBasisParameters from "../request/database/BasisParameters"; - import MsTcpBasisParameters from "../request/tcp/TcpBasisParameters"; + import TcpFormatParameters from "@/business/components/api/definition/components/request/tcp/TcpFormatParameters"; import MsDubboBasisParameters from "../request/dubbo/BasisParameters"; import MsApiExtendBtns from "../reference/ApiExtendBtns"; import MsInputTag from "@/business/components/api/automation/scenario/MsInputTag"; @@ -159,7 +159,7 @@ ApiEnvironmentConfig, MsApiAssertions, MsSqlBasisParameters, - MsTcpBasisParameters, + TcpFormatParameters, MsDubboBasisParameters, MsApiExtendBtns, MsRequestResultTail, @@ -256,6 +256,7 @@ } data.message = true; data.request.useEnvironment = this.environment; + this.saveTestCase(data); this.$emit('singleRun', data); }, copyCase(data) {