js 判断是否全为空格 校验

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

 

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