/**
* 判断是否为空
*/exportfunctionisEmpty(value){let val =JSON.parse(JSON.stringify(value));if(typeof val ==='boolean'){returnfalse;}if(typeof val ==='number'){returnfalse;}if(val instanceofArray){if(val.length ===0)returntrue;}elseif(val instanceofObject){if(JSON.stringify(val)==='{}')returntrue;}else{if(val ==='null'|| val ==null|| val ==='undefined'|| val === undefined || val ===''){returntrue;}else{returnfalse;}}returnfalse;}