fix(测试跟踪): 评审中关联用例弹窗的高级搜索自定义字段处理问题
--bug=1025348 --user=宋昌昌 【测试跟踪】github#23217,用例评审-关联用例的高级搜索,还是存在自定义字段在高级搜索中,非稳定出现问题 https://www.tapd.cn/55049933/s/1363651
This commit is contained in:
parent
6bfa8511a9
commit
7d2e99adaf
|
@ -4,6 +4,8 @@ import i18n from "@/i18n";
|
||||||
export function initTestCaseConditionComponents(condition, customFields, trashEnable) {
|
export function initTestCaseConditionComponents(condition, customFields, trashEnable) {
|
||||||
let conditionComponents = condition.components;
|
let conditionComponents = condition.components;
|
||||||
conditionComponents = conditionComponents.filter(item => item.custom !== true);
|
conditionComponents = conditionComponents.filter(item => item.custom !== true);
|
||||||
|
// 当condition中已存在自定义字段值, 会先过滤掉, 同时getAdvSearchCustomField中无法取到
|
||||||
|
condition.components = conditionComponents;
|
||||||
let comp = getAdvSearchCustomField(condition, customFields);
|
let comp = getAdvSearchCustomField(condition, customFields);
|
||||||
let statusOption = null;
|
let statusOption = null;
|
||||||
let priorityOption = null;
|
let priorityOption = null;
|
||||||
|
|
Loading…
Reference in New Issue