hasOneOf # if (data.otherDescArr.some(_ => '7'.indexOf(_) > -1)) {

if (data.otherDescArr.some(_ => '7'.indexOf(_) > -1)) {

  

export const hasOneOf = (targetarr, arr) => {
  return targetarr.some(_ => arr.indexOf(_) > -1)
}

猜你喜欢

转载自www.cnblogs.com/pengchenggang/p/10593861.html
7-1