js 判断是否全为空格 校验

keyWords.value.trim().length === 0

 

posted @ 2018-06-08 14:46  褚牛牛  阅读(1887)  评论(0编辑  收藏  举报