登录页面默认填入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> </div>
<a-form layout="horizontal" :model="state.formInline" @submit.prevent="handleSubmit"> <a-form layout="horizontal" :model="state.formInline" @submit.prevent="handleSubmit">
<a-form-item> <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> <template #prefix><user-outlined type="user" /></template>
</a-input> </a-input>
</a-form-item> </a-form-item>
@ -16,7 +16,7 @@
v-model:value="state.formInline.password" v-model:value="state.formInline.password"
size="large" size="large"
type="password" type="password"
placeholder="huaxin123" placeholder="密码"
autocomplete="new-password" autocomplete="new-password"
> >
<template #prefix><lock-outlined type="user" /></template> <template #prefix><lock-outlined type="user" /></template>
@ -61,8 +61,8 @@
loading: false, loading: false,
captcha: '', captcha: '',
formInline: { formInline: {
username: 'admin', username: '',
password: 'huaxin123', password: '',
verifyCode: '', verifyCode: '',
captchaId: '', captchaId: '',
}, },