export function dictFilter(val, arr){ let label = "" arr.forEach(item => { if (val === Number(item.dictValue)) { label = item.dictLabel } }) return label; }