fix(UI自动化): 关联UI用例提示问题
--bug=1021701 --user=张大海 【测试跟踪】测试计划-关联UI用例-未选择用例和选择用例未选择环境提示信息不符 https://www.tapd.cn/55049933/s/1324194
This commit is contained in:
parent
48635e58a1
commit
2ab6187126
|
@ -281,6 +281,9 @@ export default {
|
|||
});
|
||||
});
|
||||
},
|
||||
closeEnv(){
|
||||
this.$refs.envPopover.close();
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -150,10 +150,6 @@ export default {
|
|||
let map = this.$refs.apiScenarioList.map;
|
||||
let envGroupId = this.$refs.apiScenarioList.envGroupId;
|
||||
|
||||
if (!envMap || envMap.size == 0) {
|
||||
this.$warning(this.$t('api_test.environment.select_environment'));
|
||||
return;
|
||||
}
|
||||
selectRows.forEach(row => {
|
||||
selectIds.push(row.id);
|
||||
})
|
||||
|
@ -162,6 +158,11 @@ export default {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!envMap || envMap.size == 0) {
|
||||
this.$warning(this.$t('api_test.environment.select_environment'));
|
||||
return;
|
||||
}
|
||||
|
||||
let param = {};
|
||||
param.planId = this.planId;
|
||||
param.mapping = strMapToObj(map);
|
||||
|
|
Loading…
Reference in New Issue