if (!actData || Object.keys(actData).length == 0) { console.log(" IS empty"); }
TS 判断为空
原文:https://www.cnblogs.com/music-liang/p/13137451.html