This commit is contained in:
2024-01-31 14:56:48 +08:00
parent 14cbb87311
commit 494e3ee248
97 changed files with 11579 additions and 3858 deletions
+8 -8
View File
@@ -51,7 +51,7 @@
<a-input-password
size="large"
v-model:value="form.password"
:placeholder="t('login.password')"
:placeholder="'请输入密码'"
@pressEnter="submit"
>
<template #prefix>
@@ -67,7 +67,7 @@
type="text"
:maxlength="5"
v-model:value="form.code"
:placeholder="t('login.code')"
:placeholder="'请输入验证码'"
@pressEnter="submit"
>
<template #prefix>
@@ -81,7 +81,7 @@
</a-form-item>
<a-form-item>
<a-checkbox v-model:checked="form.remember">
{{ t('login.remember') }}
记住密码
</a-checkbox>
<!-- <router-link-->
<!-- to="/forget"-->
@@ -99,7 +99,7 @@
:loading="loading"
@click="submit"
>
{{ loading ? t('login.loading') : t('login.login') }}
{{ loading ? '登录中' : '登录' }}
</a-button>
</a-form-item>
</template>
@@ -150,7 +150,7 @@
WechatOutlined,
WeiboOutlined
} from '@ant-design/icons-vue';
// import I18nIcon from '@/layout/components/i18n-icon.vue';
import I18nIcon from '@/layout/components/i18n-icon.vue';
// import { getToken } from '@/utils/token-util';
// import { TENANT_ID } from '@/config/setting';
import { goHomeRoute, cleanPageTabs } from '@/utils/page-tab-util';
@@ -189,21 +189,21 @@
username: [
{
required: true,
message: t('login.username'),
message: '请输入用户名',
type: 'string'
}
],
password: [
{
required: true,
message: t('login.password'),
message: '请输入密码',
type: 'string'
}
],
code: [
{
required: true,
message: t('login.code'),
message: '请输入验证码',
type: 'string'
}
]