style(测试跟踪): 关联窗口切换项目时环境重置为默认环境

--bug=1028717 --user=宋天阳 【测试跟踪】测试计划关联接口用例-切换项目-运行环境未重置为默认环境
https://www.tapd.cn/55049933/s/1403513
This commit is contained in:
song-tianyang 2023-08-14 20:08:54 +08:00 committed by 建国
parent 21469ff7d6
commit 5fe3779b1e
4 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,7 @@ export default {
this.initTable(); this.initTable();
}, },
projectId() { projectId() {
this.envType = "default";
this.condition = { this.condition = {
components: TEST_PLAN_RELEVANCE_API_DEFINITION_CONFIGS components: TEST_PLAN_RELEVANCE_API_DEFINITION_CONFIGS
}; };

View File

@ -236,6 +236,7 @@ export default {
this.initTable(); this.initTable();
}, },
projectId() { projectId() {
this.envType = "default";
this.condition = { this.condition = {
components: TEST_PLAN_RELEVANCE_API_CASE_CONFIGS, components: TEST_PLAN_RELEVANCE_API_CASE_CONFIGS,
}; };

View File

@ -256,6 +256,7 @@ export default {
this.search(); this.search();
}, },
projectId() { projectId() {
this.envType = "default";
this.condition = { this.condition = {
components: TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS, components: TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS,
}; };

View File

@ -194,6 +194,7 @@ export default {
this.search(); this.search();
}, },
projectId() { projectId() {
this.envType = "default";
this.condition = { this.condition = {
components: TEST_PLAN_RELEVANCE_UI_SCENARIO_CONFIGS components: TEST_PLAN_RELEVANCE_UI_SCENARIO_CONFIGS
}; };