mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 12:39:12 +08:00
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-col :span="14">
|
||||
<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">
|
||||
<template slot="prepend">
|
||||
<el-select v-model="condition.protocol" class="request-protocol-select" size="small">
|
||||
@ -143,6 +143,7 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
console.log(this.httpConfig)
|
||||
this.list();
|
||||
},
|
||||
data() {
|
||||
|
@ -2059,7 +2059,7 @@ const message = {
|
||||
post_export_tip: "Export the test collection by Postman",
|
||||
swagger_export_tip: "Export jSON-formatted files via Swagger website",
|
||||
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",
|
||||
swagger_url_import: "Import using URL",
|
||||
add_request_params: "Add request Parameters",
|
||||
|
@ -20,10 +20,10 @@ const message = {
|
||||
trash: "回收站",
|
||||
yes: "是",
|
||||
no: "否",
|
||||
running: "运行中",
|
||||
idle: "空闲",
|
||||
running_status: "运行状态",
|
||||
cpu_usage: "CPU 使用率",
|
||||
running: "运行中",
|
||||
idle: "空闲",
|
||||
running_status: "运行状态",
|
||||
cpu_usage: "CPU 使用率",
|
||||
expand_all: "一键展开",
|
||||
close_all: "一键收起",
|
||||
example: "示例",
|
||||
@ -1988,7 +1988,7 @@ const message = {
|
||||
post_export_tip: "通过 Postman 导出测试集合",
|
||||
swagger_export_tip: "通过 Swagger 页面导出",
|
||||
jmeter_export_tip: "通过 JMeter 生成 JMX 文件",
|
||||
jmeter_tip: "支持 JMeter5.2-5.4版本的 JMX 文件",
|
||||
jmeter_tip: "支持 JMeter5.2-5.5版本的 JMX 文件",
|
||||
suffixFormatErr: "文件格式不符合要求",
|
||||
file_name_to_long: "文件名称过长",
|
||||
swagger_url_import: "使用 URL 导入",
|
||||
|
@ -20,10 +20,10 @@ const message = {
|
||||
trash: "回收站",
|
||||
yes: "是",
|
||||
no: "否",
|
||||
running: "運行中",
|
||||
idle: "空閑",
|
||||
running_status: "運行狀態",
|
||||
cpu_usage: "CPU 使用率",
|
||||
running: "運行中",
|
||||
idle: "空閑",
|
||||
running_status: "運行狀態",
|
||||
cpu_usage: "CPU 使用率",
|
||||
expand_all: "一鍵展開",
|
||||
close_all: "一鍵收起",
|
||||
example: "示例",
|
||||
@ -1987,7 +1987,7 @@ const message = {
|
||||
post_export_tip: "通過 Postman 導出測試集合",
|
||||
swagger_export_tip: "通過 Swagger 頁面導出",
|
||||
jmeter_export_tip: "通過 JMeter 生成 JMX 文件",
|
||||
jmeter_tip: "支持 JMeter5.2-5.4版本的 JMX 文件",
|
||||
jmeter_tip: "支持 JMeter5.2-5.5版本的 JMX 文件",
|
||||
suffixFormatErr: "文件格式不符合要求",
|
||||
file_name_to_long: "文件名稱過長",
|
||||
swagger_url_import: "使用 URL 導入",
|
||||
|
@ -6,7 +6,7 @@
|
||||
<el-row type="flex" justify="space-between">
|
||||
<el-col :span="14">
|
||||
<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">
|
||||
<template slot="prepend">
|
||||
<el-select v-model="condition.protocol" class="request-protocol-select" size="small">
|
||||
|
Loading…
Reference in New Issue
Block a user