fix(测试跟踪): 用例步骤为 null 的数据,脑图加载报错
--bug=1027519 --user=陈建星 【测试跟踪】脑图模式切换-用例内容比较大时-一直加载加载不出来 https://www.tapd.cn/55049933/s/1389401
This commit is contained in:
parent
ddf579e1c5
commit
0d42ece004
|
@ -291,6 +291,7 @@ export function appendCase(parent, item, isDisable, setParamCallback) {
|
|||
if (!(item.steps instanceof Array)) {
|
||||
item.steps = JSON.parse(item.steps);
|
||||
}
|
||||
if (item.steps) {
|
||||
item.steps.forEach((step) => {
|
||||
let descData = getNodeData(step.desc, null, isDisable);
|
||||
if (descData) {
|
||||
|
@ -301,6 +302,7 @@ export function appendCase(parent, item, isDisable, setParamCallback) {
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (item.issueList && item.issueList.length > 0) {
|
||||
item.issueList.forEach(issue => {
|
||||
|
|
Loading…
Reference in New Issue