js 判断参数是否为空
isEmptyObject(obj) { let body = obj if (body == null) { return true } if (typeof obj === String) { body = body.trim() } if (!(body instanceof Object)) { // console.log(body) body = body.toString() } ..