inputName = (e) => {
this.setState({
nickname: e.detail.value.replace(/\s+/g,"")
})
}
input 输入框中禁止输入空格
最新推荐文章于 2024-07-05 13:36:52 发布
inputName = (e) => {
this.setState({
nickname: e.detail.value.replace(/\s+/g,"")
})
}