fix(接口案例): 修复接口案例转性能测试时的环境选择框内的展示内容

--bug=1009069 --user=宋天阳 【接口测试】接口用例创建性能测试,环境显示错误
https://www.tapd.cn/55049933/s/1084866
This commit is contained in:
song-tianyang 2021-12-22 12:30:11 +08:00 committed by song-tianyang
parent 67993a2a56
commit c769f16a4b
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
:placeholder="$t('api_test.definition.request.run_env')"
clearable>
<el-option v-for="(environment, index) in environments" :key="index"
:label="environment.name + (environment.config.httpConfig.socket ? (': ' + environment.config.httpConfig.protocol + '://' + environment.config.httpConfig.socket) : '')"
:label="environment.name"
:value="environment.id"/>
<template v-slot:empty>
<div class="empty-environment">