refactor: 关闭租户、搜索快捷键和登录表单部分功能

This commit is contained in:
caiyuchao
2025-07-15 18:15:30 +08:00
parent e467d6d01b
commit a2e42c62ad
3 changed files with 8 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ VITE_APP_STORE_SECURE_KEY=please-replace-me-with-your-own-key
VITE_NITRO_MOCK=false VITE_NITRO_MOCK=false
# 租户开关 # 租户开关
VITE_APP_TENANT_ENABLE=true VITE_APP_TENANT_ENABLE=false
# 验证码的开关 # 验证码的开关
VITE_APP_CAPTCHA_ENABLE=false VITE_APP_CAPTCHA_ENABLE=false

View File

@@ -33,6 +33,9 @@ export const overridesPreferences = defineOverridesPreferences({
companySiteLink: 'https://www.agrandtech.com.cn', companySiteLink: 'https://www.agrandtech.com.cn',
date: '2025', date: '2025',
}, },
shortcutKeys: {
enable: false,
},
sidebar: { sidebar: {
width: 200, width: 200,
}, },

View File

@@ -175,6 +175,10 @@ const formSchema = computed((): VbenFormSchema[] => {
ref="loginRef" ref="loginRef"
:form-schema="formSchema" :form-schema="formSchema"
:loading="authStore.loginLoading" :loading="authStore.loginLoading"
:show-code-login="false"
:show-forget-password="false"
:show-qrcode-login="false"
:show-third-party-login="false"
@submit="handleLogin" @submit="handleLogin"
@third-login="handleThirdLogin" @third-login="handleThirdLogin"
/> />