// import { ElMessage } from 'element-plus' /** * 检查数组中不能存在属性数组中同时一样的两条数据 * @param list 要检查的数组 * @param property 属性数组 */ export function useArrayDataUnique(list: any, property: string[]) { console.log('--', list, property) }