|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
v-decorator="[
|
|
|
|
|
'account',
|
|
|
|
|
{
|
|
|
|
|
initialValue: 'superAdmin',
|
|
|
|
|
initialValue: '',
|
|
|
|
|
rules: [{ required: true, message: '请输入帐户名' }, { validator: handleUsernameOrEmail }],
|
|
|
|
|
validateTrigger: 'change'
|
|
|
|
|
}
|
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
|
placeholder="密码"
|
|
|
|
|
v-decorator="[
|
|
|
|
|
'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)' }" />
|
|
|
|
|