fix(接口测试): 修复场景步骤最大化后选择环境失效问题
--bug=1013822 --user=赵勇 [接口测试]接口自动化-创建新场景-关联了多个接口case-全屏显示后选择运行环境未生效 https://www.tapd.cn/55049933/s/1174481
This commit is contained in:
parent
82516434f7
commit
a5bfe31668
|
@ -38,7 +38,7 @@
|
|||
<el-checkbox v-model="cookieShare" @change="setCookieShare">共享cookie</el-checkbox>
|
||||
<el-checkbox v-model="sampleError" @change="setOnSampleError" style="margin-right: 10px">{{ $t('commons.failure_continues') }}</el-checkbox>
|
||||
<env-popover :disabled="scenarioDefinition.length < 1" :isReadOnly="scenarioDefinition.length < 1"
|
||||
:env-map="projectEnvMap" :project-ids="projectIds" @setProjectEnvMap="setProjectEnvMap"
|
||||
:env-map="projectEnvMap" :project-ids="projectIds" @setProjectEnvMap="setProjectEnvMap" @setEnvGroup="setEnvGroup"
|
||||
:environment-type.sync="envType" :group-id="envGroupId"
|
||||
@showPopover="showPopover" :project-list="projectList" ref="envPopover" class="ms-right" :has-option-group="true"
|
||||
:result="envResult"/>
|
||||
|
@ -892,6 +892,11 @@ export default {
|
|||
},
|
||||
setProjectEnvMap(projectEnvMap) {
|
||||
this.projectEnvMap = projectEnvMap;
|
||||
this.$emit("setProjectEnvMap",projectEnvMap);
|
||||
},
|
||||
setEnvGroup(id) {
|
||||
this.envGroupId = id;
|
||||
this.$emit("setEnvGroup",id);
|
||||
},
|
||||
refReload(data, node) {
|
||||
this.selectedTreeNode = data;
|
||||
|
|
Loading…
Reference in New Issue