update src/views/login/index.vue.

登錄頁默認填寫admin和密碼已刪除

Signed-off-by: yixr <zaozao233@gmail.com>
This commit is contained in:
yixr 2024-04-27 07:10:38 +00:00 committed by Gitee
parent 6b4becfbd2
commit 6eab932918
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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: '',
}, },