fix(接口定义): 优化接口定义接口case批量执行时选择“环境组”功能,已去掉
--bug=1011607 --user=王孝刚 【接口测试】-接口定义-接口case批量执行时选择“环境组”功能没有用,建议去掉 https://www.tapd.cn/55049933/s/1125775
This commit is contained in:
parent
abff15f86d
commit
820e98396d
|
@ -8,7 +8,7 @@
|
||||||
trigger="click">
|
trigger="click">
|
||||||
<el-radio-group v-model="radio" style="margin-left: 20px;" @change="radioChange">
|
<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.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>
|
</el-radio-group>
|
||||||
<env-select :project-ids="projectIds"
|
<env-select :project-ids="projectIds"
|
||||||
:result="result"
|
:result="result"
|
||||||
|
@ -77,6 +77,12 @@ export default {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
showEnvGroup: {
|
||||||
|
type: Boolean,
|
||||||
|
default() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
},
|
||||||
placement: {
|
placement: {
|
||||||
type: String,
|
type: String,
|
||||||
default() {
|
default() {
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
@setEnvGroup="setEnvGroup"
|
@setEnvGroup="setEnvGroup"
|
||||||
@setProjectEnvMap="setProjectEnvMap"
|
@setProjectEnvMap="setProjectEnvMap"
|
||||||
@showPopover="showPopover"
|
@showPopover="showPopover"
|
||||||
|
:show-env-group="false"
|
||||||
ref="envPopover" class="env-popover"/>
|
ref="envPopover" class="env-popover"/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue