chore: 完善切换租户组件

This commit is contained in:
AN
2025-04-26 13:07:34 +08:00
parent 15acc1ff68
commit 28c88c485f
6 changed files with 138 additions and 34 deletions

View File

@ -54,3 +54,11 @@ export function fetchChangeTenant(tenantId: CommonType.IdType) {
method: 'get'
});
}
/** 清空租户 */
export function fetchClearTenant() {
return request<boolean>({
url: '/system/tenant/dynamic/clear',
method: 'get'
});
}