diff --git a/apps/web-antd/src/layouts/basic.vue b/apps/web-antd/src/layouts/basic.vue index 990cba1..b052d60 100644 --- a/apps/web-antd/src/layouts/basic.vue +++ b/apps/web-antd/src/layouts/basic.vue @@ -7,25 +7,18 @@ import { computed, onMounted, ref, watch } from 'vue'; import { useAccess } from '@vben/access'; import { AuthenticationLoginExpiredModal, useVbenModal } from '@vben/common-ui'; -import { VBEN_DOC_URL, VBEN_GITHUB_URL } from '@vben/constants'; import { isTenantEnable, useTabs, useWatermark } from '@vben/hooks'; -import { - AntdProfileOutlined, - BookOpenText, - CircleHelp, - MdiGithub, -} from '@vben/icons'; +import { AntdProfileOutlined } from '@vben/icons'; import { BasicLayout, Help, LockScreen, Notification, - TenantDropdown, UserDropdown, } from '@vben/layouts'; import { preferences } from '@vben/preferences'; import { useAccessStore, useUserStore } from '@vben/stores'; -import { formatDateTime, openWindow } from '@vben/utils'; +import { formatDateTime } from '@vben/utils'; import { message } from 'ant-design-vue'; @@ -41,6 +34,8 @@ import { router } from '#/router'; import { useAuthStore } from '#/store'; import LoginForm from '#/views/_core/authentication/login.vue'; +import TenantDropdown from './components/tenant-dropdown.vue'; + const userStore = useUserStore(); const authStore = useAuthStore(); const accessStore = useAccessStore(); @@ -52,7 +47,7 @@ const notifications = ref([]); const unreadCount = ref(0); const showDot = computed(() => unreadCount.value > 0); -const [HelpModal, helpModalApi] = useVbenModal({ +const [HelpModal] = useVbenModal({ connectedComponent: Help, }); diff --git a/apps/web-antd/src/layouts/components/tenant-dropdown.vue b/apps/web-antd/src/layouts/components/tenant-dropdown.vue index 255db43..33c0f7d 100644 --- a/apps/web-antd/src/layouts/components/tenant-dropdown.vue +++ b/apps/web-antd/src/layouts/components/tenant-dropdown.vue @@ -21,7 +21,7 @@ const accessStore = useAccessStore(); const tenantEnable = isTenantEnable(); -const value = ref(accessStore.visitTenantId ?? undefined); // 当前访问的租户 ID +const value = ref(accessStore.visitTenantId ?? undefined); // 当前访问的租户 ID const tenants = ref([]); // 租户列表 // TODO @xingyu:这个有可能 3 端复用么? diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index a5fb24c..0bea780 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -28,7 +28,7 @@ export const overridesPreferences = defineOverridesPreferences({ fixed: false, }, copyright: { - companyName: import.meta.env.VITE_APP_TITLE, + companyName: '深圳千通科技有限公司', companySiteLink: 'https://www.agrandtech.com.cn', date: '2025', }, diff --git a/packages/effects/common-ui/src/ui/authentication/login.vue b/packages/effects/common-ui/src/ui/authentication/login.vue index e85604b..fd39a14 100644 --- a/packages/effects/common-ui/src/ui/authentication/login.vue +++ b/packages/effects/common-ui/src/ui/authentication/login.vue @@ -14,7 +14,6 @@ import { useVbenForm } from '@vben-core/form-ui'; import { VbenButton, VbenCheckbox } from '@vben-core/shadcn-ui'; import Title from './auth-title.vue'; -import DocLink from './doc-link.vue'; import ThirdPartyLogin from './third-party-login.vue'; interface Props extends AuthenticationProps { @@ -198,6 +197,6 @@ defineExpose({ - +