<el-form-item label="邮箱" ref="installerFormEmail">
<el-autocomplete
v-model="installerForm.Email"
@input="checkphone1"
:fetch-suggestions="querySearch"
placeholder="请输入邮箱"
@select="handleSelect"
></el-autocomplete>
</el-form-item>
handleSelect(item){
if(isvalidEmail(item.value)){
this.$refs.installerFormEmail.clearValidate()
}
}
网友评论