textarea和type=number输入去空格限制字数问题
<textarea maxlength="100" onchange="this.value=this.value.replace(/\s+/g,'').substring(0, 100)" onkeydown="this.value=this.value.replace(/\s+/g,'').substring(0, 100)" onkeyup="this.value=this.value.replace(/\s+/g,'').substring(0, 100)" class="weui-textarea expressAddress" rows="3" placeholder="请填写详细地址,不超过100个字">{{addressEntity.address}}
</textarea>
<input class="weui-input expressPhone" oninput="this.value=this.value.replace(/\s+/g,'').substring(0, 11)" name="expressRequired" value="{{addressEntity.phone}}" type="number" />