export function verifyNull(data){
if(data === '' || data === 'undefined' || data === 'null' || data === null || (typeof(data) === 'string' && data.trim() === '') || JSON.stringify(data) === '{}' || JSON.stringify(data) === '[]'){
console.log(data,'=====') return false ;
}
else{
return true ;
}
}
标签:stringify,判断,return,是否,空值,JSON,null,data From: https://www.cnblogs.com/panax/p/17197071.html