let _isEmpty = (input) => {
return input + '' === 'null' || input + '' === 'undefined' || input.trim?input.trim()=== '':input.replace(/^\s+|\s+$/gm,'')==='';
};
转载于:https://www.cnblogs.com/ysk123/p/9483276.html
let _isEmpty = (input) => {
return input + '' === 'null' || input + '' === 'undefined' || input.trim?input.trim()=== '':input.replace(/^\s+|\s+$/gm,'')==='';
};
转载于:https://www.cnblogs.com/ysk123/p/9483276.html