fix: 自定义字段解析保护
--bug=1007406 --user=lyh 【测试跟踪】用例列表选择模块不显示所选模块下的用例 https://www.tapd.cn/55049933/s/1058813
This commit is contained in:
parent
6b1d5c38da
commit
f1dba94676
|
@ -469,6 +469,7 @@ export function getCustomFieldValue(row, field, members) {
|
|||
else if (['multipleSelect', 'checkbox'].indexOf(field.type) > -1) {
|
||||
if (item.value) {
|
||||
let values = '';
|
||||
if (item.value instanceof Array) {
|
||||
item.value.forEach(v => {
|
||||
for (let j = 0; j < field.options.length; j++) {
|
||||
let option = field.options[j];
|
||||
|
@ -479,6 +480,7 @@ export function getCustomFieldValue(row, field, members) {
|
|||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
return values;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue