判断某个字符是否为空(常用方法)

// 判断某个字符是否为空
    isEmpty(obj){
      if(typeof obj == "undefined" || obj == null || obj == ""){
            return true;
        }else{
            return false;
        }
    },
原文地址:https://www.cnblogs.com/meiyanstar/p/14022864.html