refactor: 去掉tcp的环境配置多余信息

This commit is contained in:
chenjianxing 2021-01-26 20:36:51 +08:00
parent 255f0673cc
commit 192b386166
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@
<ms-database-config :configs="environment.config.databaseConfigs"/>
</el-tab-pane>
<el-tab-pane :label="$t('api_test.environment.tcp_config')" name="tcp">
<ms-tcp-config :config="environment.config.tcpConfig"/>
<environment-tcp-config :config="environment.config.tcpConfig"/>
</el-tab-pane>
</el-tabs>
@ -44,12 +44,12 @@
import MsDatabaseConfig from "../request/database/DatabaseConfig";
import MsEnvironmentHttpConfig from "./EnvironmentHttpConfig";
import MsEnvironmentCommonConfig from "./EnvironmentCommonConfig";
import MsTcpConfig from "../request/tcp/TcpConfig";
import EnvironmentTcpConfig from "./EnvironmentTcpConfig";
export default {
name: "EnvironmentEdit",
components: {
MsTcpConfig,
EnvironmentTcpConfig,
MsEnvironmentCommonConfig,
MsEnvironmentHttpConfig,
MsDatabaseConfig, MsApiHostTable, MsDialogFooter, MsApiKeyValue, MsApiScenarioVariables},

View File

@ -25,7 +25,7 @@
<script>
import {parseEnvironment} from "../../model/EnvironmentModel";
import ApiEnvironmentConfig from "../../../test/components/ApiEnvironmentConfig";
import ApiEnvironmentConfig from "../../../definition/components/environment/ApiEnvironmentConfig";
export default {
name: "EnvironmentSelect",