新增用户手机号码字段修改

This commit is contained in:
qinjie 2021-09-09 23:33:54 +08:00
parent 9b5b3b89c6
commit 8900de6b69
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@
<a-col :md="12" :sm="24"> <a-col :md="12" :sm="24">
<a-form :form="form"> <a-form :form="form">
<a-form-item label="手机号" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> <a-form-item label="手机号" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
<a-input placeholder="请输入手机号" v-decorator="['phoneNumber',{rules: [{ required: true, message: '请输入手机号' }]}]" /> <a-input placeholder="请输入手机号" v-decorator="['phone',{rules: [{ required: true, message: '请输入手机号' }]}]" />
</a-form-item> </a-form-item>
</a-form> </a-form>
</a-col> </a-col>
@ -136,7 +136,7 @@ export default {
nickName: record.nickName, nickName: record.nickName,
sex: record.sex, sex: record.sex,
email: record.email, email: record.email,
phoneNumber: record.phoneNumber phone: record.phone
} }
) )
}, 100) }, 100)