// 检测两数组是否有重复元素export function hasSameEl(source: any[], target: any[]): boolean { return new Set(source.concat(target)).size !== source.length + target.length;}