fix(测试跟踪): 快速点击模块树报错问题
This commit is contained in:
parent
d4a722033e
commit
8531e7e176
|
@ -358,12 +358,16 @@
|
||||||
this.total = data.itemCount;
|
this.total = data.itemCount;
|
||||||
this.tableData = data.listObject;
|
this.tableData = data.listObject;
|
||||||
for (let i = 0; i < this.tableData.length; i++) {
|
for (let i = 0; i < this.tableData.length; i++) {
|
||||||
this.$set(this.tableData[i], "issuesSize", 0);
|
if (this.tableData[i]) {
|
||||||
this.$get("/issues/get/" + this.tableData[i].caseId, response => {
|
this.$set(this.tableData[i], "issuesSize", 0);
|
||||||
let issues = response.data;
|
this.$get("/issues/get/" + this.tableData[i].caseId, response => {
|
||||||
this.$set(this.tableData[i], "issuesSize", issues.length);
|
let issues = response.data;
|
||||||
this.$set(this.tableData[i], "issuesContent", issues);
|
if (this.tableData[i]) {
|
||||||
})
|
this.$set(this.tableData[i], "issuesSize", issues.length);
|
||||||
|
this.$set(this.tableData[i], "issuesContent", issues);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// this.selectIds.clear();
|
// this.selectIds.clear();
|
||||||
this.selectRows.clear();
|
this.selectRows.clear();
|
||||||
|
|
Loading…
Reference in New Issue