#该方法针对对象中无对象,有兴趣可以自己再次封装
// 返回值类型boolean
function ObjectEquel(obj1,obj2){
let a = Array.from(new Map(Object.entries(obj1)))
let b = Array.from(new Map(Object.entries(obj2)))
let i = 0
a.forEach((item,index)=>{
if(b[index][0] !== item[0] || b[index][1] !== item[1]){
i++
}
})
return i!==0
},