fix(接口定义): 优化接口定义接口case批量执行时选择“环境组”功能,已去掉

--bug=1011607 --user=王孝刚 【接口测试】-接口定义-接口case批量执行时选择“环境组”功能没有用,建议去掉
https://www.tapd.cn/55049933/s/1125775
This commit is contained in:
wxg0103 2022-03-24 17:14:55 +08:00 committed by 刘瑞斌
parent abff15f86d
commit 820e98396d
2 changed files with 8 additions and 1 deletions

View File

@ -8,7 +8,7 @@
trigger="click">
<el-radio-group v-model="radio" style="margin-left: 20px;" @change="radioChange">
<el-radio :label="ENV_TYPE.JSON">{{$t('workspace.env_group.env_list')}}</el-radio>
<el-radio :label="ENV_TYPE.GROUP">{{$t('workspace.env_group.name')}}</el-radio>
<el-radio v-if="showEnvGroup" :label="ENV_TYPE.GROUP">{{ $t('workspace.env_group.name') }}</el-radio>
</el-radio-group>
<env-select :project-ids="projectIds"
:result="result"
@ -77,6 +77,12 @@ export default {
return true;
}
},
showEnvGroup: {
type: Boolean,
default() {
return true;
}
},
placement: {
type: String,
default() {

View File

@ -17,6 +17,7 @@
@setEnvGroup="setEnvGroup"
@setProjectEnvMap="setProjectEnvMap"
@showPopover="showPopover"
:show-env-group="false"
ref="envPopover" class="env-popover"/>
</div>
<div>