// 根据对象的value值获取key
export const getFindKey = (value: any, obj: any, me: any) => {
let objlist = JSON.parse(JSON.stringify(obj)) ;
delete objlist.me;
let findKey = (value: any, compare = (a:any, b:any) => a === b) =>{
return Object.keys(objlist).find(k => compare(objlist[k], value))
}
return findKey(value);
}