fix(测试跟踪): 评审中关联用例弹窗的高级搜索自定义字段处理问题

--bug=1025348 --user=宋昌昌 【测试跟踪】github#23217,用例评审-关联用例的高级搜索,还是存在自定义字段在高级搜索中,非稳定出现问题 https://www.tapd.cn/55049933/s/1363651
This commit is contained in:
song-cc-rock 2023-04-18 10:52:45 +08:00 committed by jianxing
parent 6bfa8511a9
commit 7d2e99adaf
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import i18n from "@/i18n";
export function initTestCaseConditionComponents(condition, customFields, trashEnable) {
let conditionComponents = condition.components;
conditionComponents = conditionComponents.filter(item => item.custom !== true);
// 当condition中已存在自定义字段值, 会先过滤掉, 同时getAdvSearchCustomField中无法取到
condition.components = conditionComponents;
let comp = getAdvSearchCustomField(condition, customFields);
let statusOption = null;
let priorityOption = null;