let latelyDays = [{a:1,b:1}, {a:2,b:2}]
let latelyDays1 = JSON.parse(JSON.stringify(latelyDays))
判断一个对象是否为空的方法
let object = {}
JSON.parse(object) === {}
2023-11-02 10:19:22
let latelyDays = [{a:1,b:1}, {a:2,b:2}]
let latelyDays1 = JSON.parse(JSON.stringify(latelyDays))
判断一个对象是否为空的方法
let object = {}
JSON.parse(object) === {}