样式优化

This commit is contained in:
fengerli
2025-09-29 16:52:24 +08:00
parent 6454933d59
commit 7eb64f2d70
3 changed files with 54 additions and 34 deletions

View File

@ -13,13 +13,13 @@
</el-select>
</el-form-item>
<el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" size="large" auto-complete="off"
<el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" name="random-username-field"
placeholder="账号">
<template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template>
</el-input>
</el-form-item>
<el-form-item prop="password">
<el-input v-model="loginForm.password" type="password" size="large" auto-complete="off"
<el-input v-model="loginForm.password" type="password" size="large" auto-complete="off" name="random-password-field"
placeholder="密码" @keyup.enter="handleLogin">
<template #prefix><svg-icon icon-class="password" class="el-input__icon input-icon" /></template>
</el-input>
@ -61,9 +61,9 @@ const userStore = useUserStore();
const router = useRouter();
const loginForm = ref<LoginData>({
tenantId: '000000',
username: 'admin',
password: 'admin123',
tenantId: '',
username: '',
password: '',
rememberMe: false,
code: '',
uuid: ''