From 7d2e99adafdf87fe72b9a09bd84426617f195e99 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Tue, 18 Apr 2023 10:52:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E4=B8=AD=E5=85=B3=E8=81=94=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E7=9A=84=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5=E5=A4=84=E7=90=86?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1025348 --user=宋昌昌 【测试跟踪】github#23217,用例评审-关联用例的高级搜索,还是存在自定义字段在高级搜索中,非稳定出现问题 https://www.tapd.cn/55049933/s/1363651 --- test-track/frontend/src/business/case/test-case.js | 2 ++ 1 file changed, 2 insertions(+) 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;