fix(测试跟踪): 用例关联接口场景的时候报组建 undefined 的问题

This commit is contained in:
CaptainB 2022-04-11 22:09:02 +08:00 committed by fit2-zhao
parent 3bb79f57d3
commit d85bb7e4bd
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@ export default {
open() {
this.init();
this.$refs.baseRelevance.open();
this.$refs.apiCaseList.clear();
if (this.$refs.apiCaseList) {
this.$refs.apiCaseList.clear();
}
},
init() {
if (this.$refs.apiCaseList) {