检查对象是否为空2021-12-06 本文已影响0人 PharkiLLconst isEmpty = obj => Reflect.ownKeys(obj).length === 0 && obj.constructor === Object