fix(测试跟踪): 脑图中用例关联缺陷双击报错问题
--bug=1016238 --user=宋昌昌 【测试跟踪】测试计划-脑图中关联缺陷后-保存-双击缺陷ID 提示错误信息,无法查看缺陷 https://www.tapd.cn/55049933/s/1232537
This commit is contained in:
parent
43d407fadc
commit
a69c729627
|
@ -201,7 +201,11 @@ name: "TestCaseMinder",
|
||||||
}
|
}
|
||||||
if (node.data.type === 'issue') {
|
if (node.data.type === 'issue') {
|
||||||
getIssuesListById(node.data.id, this.projectId,this.workspaceId,(data) => {
|
getIssuesListById(node.data.id, this.projectId,this.workspaceId,(data) => {
|
||||||
data.customFields = JSON.parse(data.customFields);
|
if (data.customFields && data.customFields.toString().trim() !== '') {
|
||||||
|
data.customFields = JSON.parse(data.customFields);
|
||||||
|
} else {
|
||||||
|
data.customFields = null;
|
||||||
|
}
|
||||||
this.$refs.issueEdit.open(data);
|
this.$refs.issueEdit.open(data);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue