From fc55a685d03fd938968ee5ae708a584196e72ab9 Mon Sep 17 00:00:00 2001 From: q4speed Date: Mon, 12 Oct 2020 13:04:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/test/components/ApiScenarioForm.vue | 5 + .../components/request/ApiTcpRequestForm.vue | 32 ++--- .../test/components/request/tcp/TcpConfig.vue | 112 ++++++++++++++++++ .../api/test/model/ScenarioModel.js | 25 ++-- 4 files changed, 150 insertions(+), 24 deletions(-) create mode 100644 frontend/src/business/components/api/test/components/request/tcp/TcpConfig.vue diff --git a/frontend/src/business/components/api/test/components/ApiScenarioForm.vue b/frontend/src/business/components/api/test/components/ApiScenarioForm.vue index 636b65b6f7..0d48653bd8 100644 --- a/frontend/src/business/components/api/test/components/ApiScenarioForm.vue +++ b/frontend/src/business/components/api/test/components/ApiScenarioForm.vue @@ -49,6 +49,9 @@
Consumer & Service
+ + + @@ -68,10 +71,12 @@ import MsDubboConfigCenter from "@/business/components/api/test/components/reque import MsDubboConsumerService from "@/business/components/api/test/components/request/dubbo/ConsumerAndService"; import MsDatabaseConfig from "./request/database/DatabaseConfig"; import {parseEnvironment} from "../model/EnvironmentModel"; +import MsTcpConfig from "@/business/components/api/test/components/request/tcp/TcpConfig"; export default { name: "MsApiScenarioForm", components: { + MsTcpConfig, MsDatabaseConfig, MsDubboConsumerService, MsDubboConfigCenter, MsDubboRegistryCenter, ApiEnvironmentConfig, MsApiScenarioVariables, MsApiKeyValue diff --git a/frontend/src/business/components/api/test/components/request/ApiTcpRequestForm.vue b/frontend/src/business/components/api/test/components/request/ApiTcpRequestForm.vue index 7fd363d7f2..fe5200b597 100644 --- a/frontend/src/business/components/api/test/components/request/ApiTcpRequestForm.vue +++ b/frontend/src/business/components/api/test/components/request/ApiTcpRequestForm.vue @@ -1,5 +1,5 @@