refactor:优化 tenant 租户的实现

This commit is contained in:
YunaiV
2025-04-03 21:34:08 +08:00
parent 932797405b
commit c1d846ab57
5 changed files with 64 additions and 73 deletions

View File

@@ -1,15 +1,13 @@
<script lang="ts" setup>
import type { SystemTenantApi } from '#/api/system/tenant';
import { computed, ref } from 'vue';
import { useVbenModal } from '@vben/common-ui';
import { message } from 'ant-design-vue';
import { $t } from '#/locales';
import { computed, ref } from 'vue';
import { useVbenForm } from '#/adapter/form';
import { createTenant, getTenant, updateTenant } from '#/api/system/tenant';
import { $t } from '#/locales';
import { useFormSchema } from '../data';