JS 判断对象是否为空

参考链接

Object.keys(对象).length>0 //true 不为空,反之则为空对象
posted @ 2020-05-15 14:53  Alex_Mercer  阅读(643)  评论(0编辑  收藏  举报