refactor(UI测试): UI环境变量不支持host

--story=1012301 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001027090
This commit is contained in:
guoyuqi 2023-07-11 11:13:24 +08:00 committed by fit2-zhao
parent 28e926f3f6
commit c5f38e44ee
4 changed files with 9 additions and 1 deletions

View File

@ -4,6 +4,9 @@
<ms-api-scenario-variables :show-copy="false" :items="commonConfig.variables" :is-read-only="isReadOnly"/> <ms-api-scenario-variables :show-copy="false" :items="commonConfig.variables" :is-read-only="isReadOnly"/>
<el-form-item> <el-form-item>
<el-switch v-model="commonConfig.enableHost" active-text="Hosts"/> <el-switch v-model="commonConfig.enableHost" active-text="Hosts"/>
<el-tooltip class="hostItem" effect="dark" :content="$t('api_test.home_page.host_config')" placement="right">
<i class="el-icon-info"></i>
</el-tooltip>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<span>{{ $t('api_test.environment.request_timeout') }}:</span> <span>{{ $t('api_test.environment.request_timeout') }}:</span>
@ -94,5 +97,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
.hostItem {
padding-left: 5px;
}
</style> </style>

View File

@ -2239,6 +2239,7 @@ const message = {
open_title: "Do you want to start this scheduled task?", open_title: "Do you want to start this scheduled task?",
}, },
}, },
host_config: "Only interface testing is supported",
}, },
script: { script: {
tip_3: tip_3:

View File

@ -2153,6 +2153,7 @@ const message = {
open_title: "要开启这条定时任务吗?", open_title: "要开启这条定时任务吗?",
}, },
}, },
host_config: "仅支持接口测试",
}, },
script: { script: {
tip_3: tip_3:

View File

@ -2152,6 +2152,7 @@ const message = {
open_title: "要開啟這條定時任務嗎?", open_title: "要開啟這條定時任務嗎?",
}, },
}, },
host_config: "僅支持接口測試",
}, },
script: { script: {
tip_3: tip_3: