js 判断是否全为空格 校验

keyWords.value.trim().length === 0
原文地址:https://www.cnblogs.com/chuningning/p/9155617.html