问题:TenantRoutingProperties 定义了配置但未被使用 解决方案: 1. TenantAwareLoadBalancer 注入 TenantRoutingProperties - 使用配置的 tenantHeader 名称 - 使用配置的 buildTenantGroup 方法 - 使用配置的 isSharedService 判断 - 使用配置的 isFallbackToShared 策略 2. 新增功能 - 支持 enabled=false 禁用租户路由 - 共享服务跳过租户过滤 - 可配置是否回退到共享实例 3. 更新测试适配新构造函数
34 lines
1.4 KiB
TypeScript
34 lines
1.4 KiB
TypeScript
/* eslint-disable */
|
|
/* prettier-ignore */
|
|
// @ts-nocheck
|
|
// Generated by unplugin-vue-components
|
|
// Read more: https://github.com/vuejs/core/pull/3399
|
|
export {}
|
|
|
|
declare module 'vue' {
|
|
export interface GlobalComponents {
|
|
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
|
|
RouterLink: typeof import('vue-router')['RouterLink']
|
|
RouterView: typeof import('vue-router')['RouterView']
|
|
Tabbar: typeof import('./src/components/Tabbar.vue')['default']
|
|
VanButton: typeof import('vant/es')['Button']
|
|
VanCell: typeof import('vant/es')['Cell']
|
|
VanCellGroup: typeof import('vant/es')['CellGroup']
|
|
VanCol: typeof import('vant/es')['Col']
|
|
VanDatePicker: typeof import('vant/es')['DatePicker']
|
|
VanField: typeof import('vant/es')['Field']
|
|
VanGrid: typeof import('vant/es')['Grid']
|
|
VanGridItem: typeof import('vant/es')['GridItem']
|
|
VanIcon: typeof import('vant/es')['Icon']
|
|
VanList: typeof import('vant/es')['List']
|
|
VanNavBar: typeof import('vant/es')['NavBar']
|
|
VanPicker: typeof import('vant/es')['Picker']
|
|
VanPopup: typeof import('vant/es')['Popup']
|
|
VanPullRefresh: typeof import('vant/es')['PullRefresh']
|
|
VanRow: typeof import('vant/es')['Row']
|
|
VanTabbar: typeof import('vant/es')['Tabbar']
|
|
VanTabbarItem: typeof import('vant/es')['TabbarItem']
|
|
VanTag: typeof import('vant/es')['Tag']
|
|
}
|
|
}
|