let ids = '';

for( let item of  this.targerKey){

ids += item+ ','

}

// 去除字符串后面的逗号

let reg = /,$/gi ;

ids = ids.replace(reg,'');

 

js用,拼接id

相关文章:

  • 2022-12-23
  • 2021-07-24
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
猜你喜欢
  • 2022-12-23
  • 2022-01-31
  • 2021-12-06
  • 2021-12-27
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
相关资源
相似解决方案