refactor: 测试计划所属项目名显示问题

This commit is contained in:
shiziyuan9527 2020-12-30 18:59:24 +08:00
parent 987ab3b395
commit 03135592b0
1 changed files with 0 additions and 2 deletions

View File

@ -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);
})
}