diff --git a/test-track/frontend/src/business/case/test-case.js b/test-track/frontend/src/business/case/test-case.js index 31792a440d..75a231ab8e 100644 --- a/test-track/frontend/src/business/case/test-case.js +++ b/test-track/frontend/src/business/case/test-case.js @@ -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;