diff --git a/.env.development b/.env.development index 7218a9e4..ecb91a4f 100644 --- a/.env.development +++ b/.env.development @@ -19,7 +19,5 @@ VITE_MOCK_DEV_SERVER=false # 多租户功能开关 # ============================================ # 是否启用多租户功能(默认:false) -# true: 启用多租户,显示租户切换器,发送 tenant-id 请求头 -# false: 禁用多租户,隐藏租户相关UI,不发送 tenant-id 请求头 # 注意:前端开关需要与后端配置(youlai.tenant.enabled)保持一致 -VITE_APP_TENANT_ENABLED=false +VITE_APP_TENANT_ENABLED=true diff --git a/src/api/system/menu.ts b/src/api/system/menu.ts index a568a96f..41e6dfba 100644 --- a/src/api/system/menu.ts +++ b/src/api/system/menu.ts @@ -1,4 +1,6 @@ import request from "@/utils/request"; +import type { MenuTypeEnum } from "@/enums/business"; + const MENU_BASE_URL = "/api/v1/menus"; const MenuAPI = { @@ -42,7 +44,6 @@ export interface MenuQuery { /** 搜索关键字 */ keywords?: string; } -import type { MenuTypeEnum } from "@/enums/system/menu-enum"; export interface MenuVO { /** 子菜单 */ children?: MenuVO[]; diff --git a/src/components/SizeSelect/index.vue b/src/components/SizeSelect/index.vue index 8b150ebe..fdc81e47 100644 --- a/src/components/SizeSelect/index.vue +++ b/src/components/SizeSelect/index.vue @@ -20,7 +20,7 @@ diff --git a/src/layouts/components/AppMain/index.vue b/src/layouts/components/AppMain/index.vue index 3a31a570..2ab669b6 100644 --- a/src/layouts/components/AppMain/index.vue +++ b/src/layouts/components/AppMain/index.vue @@ -20,7 +20,7 @@