新增用户时用户和姓名位置调换

This commit is contained in:
qinjie 2021-09-09 23:40:15 +08:00
parent 8900de6b69
commit 2bfebe75ff
1 changed files with 2 additions and 2 deletions

View File

@ -10,14 +10,14 @@
</a-form-item> </a-form-item>
<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="['name', {rules: [{required: true, min: 5, message: '请输入至少五个字符的账号'}]}]" /> <a-input placeholder="请输入账号" v-decorator="['userName', {rules: [{required: true, min: 5, message: '请输入至少五个字符的账号'}]}]" />
</a-form-item> </a-form-item>
</a-form> </a-form>
</a-col> </a-col>
<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="['userName', {rules: [{required: true, message: '请输入姓名'}]}]" /> <a-input placeholder="请输入姓名" v-decorator="['name', {rules: [{required: true, message: '请输入姓名'}]}]" />
</a-form-item> </a-form-item>
</a-form> </a-form>
</a-col> </a-col>