fix(测试跟踪): 测试计划执行接口用例一直转圈

This commit is contained in:
chenjianxing 2022-10-25 18:04:09 +08:00 committed by jianxing
parent 6a12205f58
commit 92719a7c34
1 changed files with 2 additions and 0 deletions

View File

@ -366,9 +366,11 @@ export default {
created: function () { created: function () {
this.getMaintainerOptions(); this.getMaintainerOptions();
this.initTable(); this.initTable();
this.$EventBus.$on("API_TEST_ERROR", this.handleTestEnd);
this.$EventBus.$on("API_TEST_END", this.handleTestEnd); this.$EventBus.$on("API_TEST_END", this.handleTestEnd);
}, },
destroyed() { destroyed() {
this.$EventBus.$off("API_TEST_ERROR", this.handleTestEnd);
this.$EventBus.$off("API_TEST_END", this.handleTestEnd); this.$EventBus.$off("API_TEST_END", this.handleTestEnd);
}, },
activated() { activated() {