refactor: 测试计划所属项目名显示问题
This commit is contained in:
parent
987ab3b395
commit
03135592b0
|
@ -230,9 +230,7 @@
|
|||
let path = "/test/plan/project";
|
||||
this.$post(path, {planId: this.tableData[i].id}, res => {
|
||||
let arr = res.data;
|
||||
let projectName = arr.map(data => data.name).join("、");
|
||||
let projectIds = arr.map(data => data.id);
|
||||
this.$set(this.tableData[i], "projectName", projectName);
|
||||
this.$set(this.tableData[i], "projectIds", projectIds);
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue