refactor: profile form input width (#414)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/417/head
Ryan Wang 3 years ago committed by GitHub
parent 31906948c8
commit 483577f447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,18 @@
<a-tabs type="card">
<a-tab-pane key="1">
<span slot="tab"> <a-icon type="idcard" />基本资料 </span>
<a-form-model ref="userForm" :model="userForm.model" :rules="userForm.rules" layout="vertical">
<a-form-model
:wrapperCol="{
xl: { span: 15 },
lg: { span: 15 },
sm: { span: 15 },
xs: { span: 24 }
}"
ref="userForm"
:model="userForm.model"
:rules="userForm.rules"
layout="vertical"
>
<a-form-model-item label="用户名:" prop="username">
<a-input v-model="userForm.model.username" />
</a-form-model-item>
@ -81,6 +92,12 @@
<a-tab-pane key="2">
<span slot="tab"> <a-icon type="lock" />密码 </span>
<a-form-model
:wrapperCol="{
xl: { span: 15 },
lg: { span: 15 },
sm: { span: 15 },
xs: { span: 24 }
}"
ref="passwordForm"
:model="passwordForm.model"
:rules="passwordForm.rules"

Loading…
Cancel
Save