对象
为空判断
if (JSON.stringify(object) !== '{}'){}
是否存在某值判断
if (typeof object.value!== 'undefined') {}
Map
为空判断
if (Map !== null && Map.size !== 0) {}
if (JSON.stringify(object) !== '{}'){}
if (typeof object.value!== 'undefined') {}
if (Map !== null && Map.size !== 0) {}