登录页面默认填入admin和密码已经删除

This commit is contained in:
HXZN 2024-04-27 15:06:29 +08:00
parent 28223435a1
commit b0741d4ddb
1 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
</div>
<a-form layout="horizontal" :model="state.formInline" @submit.prevent="handleSubmit">
<a-form-item>
<a-input v-model:value="state.formInline.username" size="large" placeholder="admin">
<a-input v-model:value="state.formInline.username" size="large" placeholder="用户名">
<template #prefix><user-outlined type="user" /></template>
</a-input>
</a-form-item>
@ -16,7 +16,7 @@
v-model:value="state.formInline.password"
size="large"
type="password"
placeholder="huaxin123"
placeholder="密码"
autocomplete="new-password"
>
<template #prefix><lock-outlined type="user" /></template>
@ -61,8 +61,8 @@
loading: false,
captcha: '',
formInline: {
username: 'admin',
password: 'huaxin123',
username: '',
password: '',
verifyCode: '',
captchaId: '',
},