refactor: 代码优化

This commit is contained in:
puhui999
2025-04-04 14:02:23 +08:00
parent 663d3d0e9d
commit 6fcf1283af
3 changed files with 7 additions and 13 deletions

View File

@@ -1,19 +1,17 @@
<script lang="ts" setup>
import type { SystemMailTemplateApi } from '#/api/system/mail/template';
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 {
createMailTemplate,
getMailTemplate,
updateMailTemplate,
} from '#/api/system/mail/template';
import { $t } from '#/locales';
import { useFormSchema } from '../data';