fix(测试跟踪): 功能用例列表搜索报错

This commit is contained in:
shiziyuan9527 2022-06-06 16:36:50 +08:00 committed by shiziyuan9527
parent dd0a18a7a2
commit 68d817354a
1 changed files with 2 additions and 2 deletions

View File

@ -728,8 +728,8 @@ export default {
}
}
}
if (nodeIds && nodeIds.length > 0) {
// todo
if (nodeIds && Array.isArray(nodeIds) && nodeIds.length > 0) {
this.condition.nodeIds = nodeIds;
this.condition.workspaceId = getCurrentWorkspaceId();
}