Merge remote-tracking branch 'yudao/dev' into dev-new

This commit is contained in:
puhui999
2025-05-13 09:58:55 +08:00
18 changed files with 24 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
<script lang="ts" setup>
// TODO @芋艿:是否有更好的组织形式?!
import type { Key } from 'ant-design-vue/es/table/interface';
import type { SystemDeptApi } from '#/api/system/dept';

View File

@@ -1,4 +1,5 @@
<script lang="ts" setup>
// TODO @xingyu这个有可能 3 端复用么?想着是把 layouts 下的 components 没有这个目录哈;
import { useVbenModal, VbenButton, VbenButtonGroup } from '@vben/common-ui';
import { openWindow } from '@vben/utils';

View File

@@ -24,6 +24,7 @@ const tenantEnable = isTenantEnable();
const value = ref<number>(accessStore.visitTenantId ?? undefined); // 当前访问的租户 ID
const tenants = ref<SystemTenantApi.Tenant[]>([]); // 租户列表
// TODO @xingyu这个有可能 3 端复用么?
async function handleChange(id: SelectValue) {
// 设置访问租户 ID
accessStore.setVisitTenantId(id as number);