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>
<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: '',
},