wanghaomei 2 years ago
commit b9ea43d421

@ -22,7 +22,7 @@
v-decorator="[ v-decorator="[
'account', 'account',
{ {
initialValue: 'superAdmin', initialValue: '',
rules: [{ required: true, message: '请输入帐户名' }, { validator: handleUsernameOrEmail }], rules: [{ required: true, message: '请输入帐户名' }, { validator: handleUsernameOrEmail }],
validateTrigger: 'change' validateTrigger: 'change'
} }
@ -40,7 +40,7 @@
placeholder="密码" placeholder="密码"
v-decorator="[ v-decorator="[
'password', 'password',
{ initialValue: '123456', rules: [{ required: true, message: '请输入密码' }], validateTrigger: 'blur' } { initialValue: '', rules: [{ required: true, message: '请输入密码' }], validateTrigger: 'blur' }
]" ]"
> >
<a-icon slot="prefix" type="lock" :style="{ color: 'rgba(0,0,0,.25)' }" /> <a-icon slot="prefix" type="lock" :style="{ color: 'rgba(0,0,0,.25)' }" />

Loading…
Cancel
Save