refactor(接口测试): 优化mock环境http配置的显示
--bug=1031675 --user=王孝刚 【接口测试】github#27023,mock环境修改地址-调试-修改的地址生效,然后再进入调试mock地址又变回去了 https://www.tapd.cn/55049933/s/1425819
This commit is contained in:
parent
5c9d414dcf
commit
4726ef6514
|
@ -6,7 +6,7 @@
|
||||||
<el-row type="flex" justify="space-between">
|
<el-row type="flex" justify="space-between">
|
||||||
<el-col :span="14">
|
<el-col :span="14">
|
||||||
<span class="ms-env-span" style="line-height: 30px;">{{ $t('api_test.environment.socket') }}</span>
|
<span class="ms-env-span" style="line-height: 30px;">{{ $t('api_test.environment.socket') }}</span>
|
||||||
<el-input v-model="condition.socket" style="width: 85%"
|
<el-input v-model="condition.socket" style="width: 85%" :disabled="httpConfig.isMock"
|
||||||
:placeholder="$t('api_test.request.url_description')" clearable size="small">
|
:placeholder="$t('api_test.request.url_description')" clearable size="small">
|
||||||
<template slot="prepend">
|
<template slot="prepend">
|
||||||
<el-select v-model="condition.protocol" class="request-protocol-select" size="small">
|
<el-select v-model="condition.protocol" class="request-protocol-select" size="small">
|
||||||
|
@ -143,6 +143,7 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
console.log(this.httpConfig)
|
||||||
this.list();
|
this.list();
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -2059,7 +2059,7 @@ const message = {
|
||||||
post_export_tip: "Export the test collection by Postman",
|
post_export_tip: "Export the test collection by Postman",
|
||||||
swagger_export_tip: "Export jSON-formatted files via Swagger website",
|
swagger_export_tip: "Export jSON-formatted files via Swagger website",
|
||||||
jmeter_export_tip: "Generating JMX file through JMeter",
|
jmeter_export_tip: "Generating JMX file through JMeter",
|
||||||
jmeter_tip: "JMX files supporting JMeter 5.2-5.4",
|
jmeter_tip: "JMX files supporting JMeter 5.2-5.5",
|
||||||
suffixFormatErr: "The file format does not meet the requirements",
|
suffixFormatErr: "The file format does not meet the requirements",
|
||||||
swagger_url_import: "Import using URL",
|
swagger_url_import: "Import using URL",
|
||||||
add_request_params: "Add request Parameters",
|
add_request_params: "Add request Parameters",
|
||||||
|
|
|
@ -1988,7 +1988,7 @@ const message = {
|
||||||
post_export_tip: "通过 Postman 导出测试集合",
|
post_export_tip: "通过 Postman 导出测试集合",
|
||||||
swagger_export_tip: "通过 Swagger 页面导出",
|
swagger_export_tip: "通过 Swagger 页面导出",
|
||||||
jmeter_export_tip: "通过 JMeter 生成 JMX 文件",
|
jmeter_export_tip: "通过 JMeter 生成 JMX 文件",
|
||||||
jmeter_tip: "支持 JMeter5.2-5.4版本的 JMX 文件",
|
jmeter_tip: "支持 JMeter5.2-5.5版本的 JMX 文件",
|
||||||
suffixFormatErr: "文件格式不符合要求",
|
suffixFormatErr: "文件格式不符合要求",
|
||||||
file_name_to_long: "文件名称过长",
|
file_name_to_long: "文件名称过长",
|
||||||
swagger_url_import: "使用 URL 导入",
|
swagger_url_import: "使用 URL 导入",
|
||||||
|
|
|
@ -1987,7 +1987,7 @@ const message = {
|
||||||
post_export_tip: "通過 Postman 導出測試集合",
|
post_export_tip: "通過 Postman 導出測試集合",
|
||||||
swagger_export_tip: "通過 Swagger 頁面導出",
|
swagger_export_tip: "通過 Swagger 頁面導出",
|
||||||
jmeter_export_tip: "通過 JMeter 生成 JMX 文件",
|
jmeter_export_tip: "通過 JMeter 生成 JMX 文件",
|
||||||
jmeter_tip: "支持 JMeter5.2-5.4版本的 JMX 文件",
|
jmeter_tip: "支持 JMeter5.2-5.5版本的 JMX 文件",
|
||||||
suffixFormatErr: "文件格式不符合要求",
|
suffixFormatErr: "文件格式不符合要求",
|
||||||
file_name_to_long: "文件名稱過長",
|
file_name_to_long: "文件名稱過長",
|
||||||
swagger_url_import: "使用 URL 導入",
|
swagger_url_import: "使用 URL 導入",
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<el-row type="flex" justify="space-between">
|
<el-row type="flex" justify="space-between">
|
||||||
<el-col :span="14">
|
<el-col :span="14">
|
||||||
<span class="ms-env-span" style="line-height: 30px;">{{ $t('api_test.environment.socket') }}</span>
|
<span class="ms-env-span" style="line-height: 30px;">{{ $t('api_test.environment.socket') }}</span>
|
||||||
<el-input v-model="condition.socket" style="width: 85%"
|
<el-input v-model="condition.socket" style="width: 85%" :disabled="httpConfig.isMock"
|
||||||
:placeholder="$t('api_test.request.url_description')" clearable size="small">
|
:placeholder="$t('api_test.request.url_description')" clearable size="small">
|
||||||
<template slot="prepend">
|
<template slot="prepend">
|
||||||
<el-select v-model="condition.protocol" class="request-protocol-select" size="small">
|
<el-select v-model="condition.protocol" class="request-protocol-select" size="small">
|
||||||
|
|
Loading…
Reference in New Issue