<input class="uk-input uk-form-width-large" id="name" name="name" autofocus="autofocus" v-validate data-rules="required" @input="handleValidate($event)" v-model="current.name">
问题:输入不上内容
原因:input的初始值要保证为一个字符串,不可以是 undefined
<van-field class="phone-prefix" name="oldPhone" v-model="oldPhone" placeholder="请输入当前绑定的手机号" clearable v-validate="'required|mobile'" data-vv-as="手机号" :error="errors.has('oldPhone')" key="oldPhone" >
<van-button slot="label" size="small" type="default" :disabled="false" >+86</van-button>
</van-field>