js判断字符串非空 下面就是有关判断为空的简写方法。 代码如下 复制代码 代码如下: if (variable1 !== null || variable1 !== undefined || vari ...