refactor: 关闭租户、搜索快捷键和登录表单部分功能
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user