/** * 数组去重 */ export const uniq = (arr: T[]): T[] => { return [...new Set(arr)]; };