element中输入框清除输入的所有空格

2019-03-06  本文已影响0人  雨后晴阳

this.inputUser =this.inputUser.replace(/\s*/g,"")

上一篇下一篇

猜你喜欢

热点阅读