uniapp匹配空白字符
有空格就是false,写东西就是true
vant匹配空白字符
@keydown.native="keydown($event)" keydown(event) { if (event.keyCode == 32) { event.returnValue = false; } },
uniapp匹配空白字符
有空格就是false,写东西就是true
vant匹配空白字符
@keydown.native="keydown($event)" keydown(event) { if (event.keyCode == 32) { event.returnValue = false; } },