diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue index 77d8d85357..1e4b4c4954 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue @@ -115,9 +115,17 @@ this.$success(this.$t('commons.save_success')); this.$emit('refresh'); this.refresh(); + this.autoCheckStatus(); this.$refs.baseRelevance.close(); }); }, + autoCheckStatus() { // 检查执行结果,自动更新计划状态 + if (!this.planId) { + return; + } + this.$post('/test/plan/autoCheck/' + this.planId, (response) => { + }); + }, } }