fix: 登录页,去掉租户选择。
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
<lang-select />
|
||||
</div> -->
|
||||
<el-form-item v-if="tenantEnabled" prop="tenantId">
|
||||
<el-select v-model="loginForm.tenantId" filterable :placeholder="proxy.$t('login.selectPlaceholder')" style="width: 100%">
|
||||
<el-option v-for="item in tenantList" :key="item.tenantId" :label="item.companyName" :value="item.tenantId"></el-option>
|
||||
<template #prefix><svg-icon icon-class="company" class="el-input__icon input-icon" /></template>
|
||||
</el-select>
|
||||
<!-- <el-select v-model="loginForm.tenantId" filterable :placeholder="proxy.$t('login.selectPlaceholder')" style="width: 100%">-->
|
||||
<!-- <el-option v-for="item in tenantList" :key="item.tenantId" :label="item.companyName" :value="item.tenantId"></el-option>-->
|
||||
<!-- <template #prefix><svg-icon icon-class="company" class="el-input__icon input-icon" /></template>-->
|
||||
<!-- </el-select>-->
|
||||
</el-form-item>
|
||||
<el-form-item prop="username">
|
||||
<el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" :placeholder="proxy.$t('login.username')">
|
||||
@@ -87,8 +87,8 @@ const { t } = useI18n();
|
||||
|
||||
const loginForm = ref<LoginData>({
|
||||
tenantId: '111111',
|
||||
username: 'admin',
|
||||
password: 'admin123',
|
||||
username: 'fishery',
|
||||
password: 'fishery@123',
|
||||
rememberMe: false,
|
||||
code: '',
|
||||
uuid: ''
|
||||
@@ -216,7 +216,7 @@ const doSocialLogin = (type: string) => {
|
||||
|
||||
onMounted(() => {
|
||||
getCode();
|
||||
initTenantList();
|
||||
// initTenantList();
|
||||
getLoginData();
|
||||
});
|
||||
</script>
|
||||
@@ -301,7 +301,7 @@ onMounted(() => {
|
||||
backdrop-filter: blur(2px);
|
||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
|
||||
z-index: 2;
|
||||
|
||||
|
||||
span {
|
||||
padding: 5px 15px;
|
||||
border-radius: 15px;
|
||||
@@ -309,12 +309,12 @@ onMounted(() => {
|
||||
backdrop-filter: blur(5px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
color:rgb(255, 255, 255) !important;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
|
||||
|
||||
&:hover {
|
||||
color: #66b1ff !important;
|
||||
text-shadow: 0 0 5px rgba(64, 158, 255, 0.5);
|
||||
|
||||
Reference in New Issue
Block a user