fix(测试跟踪): 功能用例和接口定义批量勾选生成关系图报错 (#15818)

Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com>
This commit is contained in:
MeterSphere Bot 2022-07-15 11:13:33 +08:00 committed by GitHub
parent bf83735730
commit 5793093aee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -582,7 +582,7 @@ export default {
});
},
generateGraph() {
if (getSelectDataCounts(this.condition, this.total, this.selectRows) > 100) {
if (getSelectDataCounts(this.condition, this.total, this.$refs.table.selectRows) > 100) {
this.$warning(this.$t('test_track.case.generate_dependencies_warning'));
return;
}

View File

@ -969,7 +969,7 @@ export default {
});
},
generateGraph() {
if (getSelectDataCounts(this.condition, this.total, this.selectRows) > 100) {
if (getSelectDataCounts(this.condition, this.total, this.$refs.table.selectRows) > 100) {
this.$warning(this.$t('test_track.case.generate_dependencies_warning'));
return;
}