|
|
|
|
@ -103,7 +103,7 @@ const formSchema = computed((): VbenFormSchema[] => {
|
|
|
|
|
class: 'focus:border-primary',
|
|
|
|
|
placeholder: $t('authentication.usernameTip'),
|
|
|
|
|
},
|
|
|
|
|
defaultValue: 'admin',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
fieldName: 'username',
|
|
|
|
|
label: $t('authentication.username'),
|
|
|
|
|
rules: z.string().min(1, { message: $t('authentication.usernameTip') }),
|
|
|
|
|
@ -114,7 +114,7 @@ const formSchema = computed((): VbenFormSchema[] => {
|
|
|
|
|
class: 'focus:border-primary',
|
|
|
|
|
placeholder: $t('authentication.password'),
|
|
|
|
|
},
|
|
|
|
|
defaultValue: 'admin123',
|
|
|
|
|
defaultValue: '',
|
|
|
|
|
fieldName: 'password',
|
|
|
|
|
label: $t('authentication.password'),
|
|
|
|
|
rules: z.string().min(5, { message: $t('authentication.passwordTip') }),
|
|
|
|
|
|