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

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

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ VITE_APP_STORE_SECURE_KEY=please-replace-me-with-your-own-key
VITE_NITRO_MOCK=false
# 租户开关
VITE_APP_TENANT_ENABLE=true
VITE_APP_TENANT_ENABLE=false
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=false
+3
View File
@@ -33,6 +33,9 @@ export const overridesPreferences = defineOverridesPreferences({
companySiteLink: 'https://www.agrandtech.com.cn',
date: '2025',
},
shortcutKeys: {
enable: false,
},
sidebar: {
width: 200,
},
@@ -175,6 +175,10 @@ const formSchema = computed((): VbenFormSchema[] => {
ref="loginRef"
:form-schema="formSchema"
:loading="authStore.loginLoading"
:show-code-login="false"
:show-forget-password="false"
:show-qrcode-login="false"
:show-third-party-login="false"
@submit="handleLogin"
@third-login="handleThirdLogin"
/>