fix(UI自动化): 修复关联UI用例切换项目时环境没有更新的问题

This commit is contained in:
zhangdahai112 2022-12-27 11:06:24 +08:00 committed by zhangdahai112
parent 6e016a36ee
commit 2cbcb79f14
3 changed files with 8 additions and 0 deletions

View File

@ -175,6 +175,9 @@ export default {
},
radioChange(val) {
this.$emit("update:environmentType", val);
},
close(){
this.visible = false;
}
}

View File

@ -281,6 +281,9 @@ export default {
});
});
},
closeEnv(){
this.$refs.envPopover.close();
}
}
};
</script>

View File

@ -87,6 +87,8 @@ export default {
},
setProject(projectId) {
this.projectId = projectId;
this.$refs.apiScenarioList.closeEnv();
this.$refs.apiScenarioList.initProjectIds();
},
refresh(data) {