跳到主要内容

多值字段类型

这些字段类型使用 dataType: 'array',并存储多个标量值。

字段类型存储值
多选搜索选中的多个目标记录 ID
多选选中的多个选项值
复选框组选中的多个选项值
多成员选中的多个成员 ID
汇总汇总函数返回 array 时的数组值
动态公式公式结果类型为 array 时的数组值
const reviewerIds = Array.isArray(record.data.reviewers)
? record.data.reviewers.map((item) => String(item)).filter(Boolean)
: [];