input去除所有空格

element input 去除所有空格

	//οninput="value=value.replace(/\s+/g,'')" 去除所有空格
   <el-input placeholder="请输入内容" oninput="value=value.replace(/\s+/g,'')" v-model="code"></el-input>
        

猜你喜欢

转载自blog.csdn.net/weixin_41760500/article/details/106113165
今日推荐