摘要: var ids = '111,222,333,333,444,111'; // 将字符串转化成数组 var idsArr = ids.split(","); //[111,222,333,333,444,111] // 数组去重 var uniqueIds = unique(idsArr); //[ 阅读全文
posted @ 2021-10-09 11:21 浅绿色i 阅读(768) 评论(0) 推荐(0) 编辑