Vue之判断对象是否为空的方法

1、JSON.stringify(xxx)=='{}'
2、Object.keys(xxx).length==0

原文地址:https://www.cnblogs.com/fkcqwq/p/13084653.html