js数组对比是否一样 闲者无敌 2022-06-18 65 阅读1分钟 true一样 false不一样 diffent( a,b ){ if(JSON.stringify(a) == JSON.stringify(b)){ return true }else{ return false } },