perf: aotu imports

This commit is contained in:
xingyu
2023-01-18 12:14:58 +08:00
parent e2c7ea8a74
commit 85c4d1fb03
107 changed files with 50 additions and 265 deletions

View File

@ -67,11 +67,10 @@
</template>
<script setup lang="ts" name="DataSourceConfig">
// 全局相关的 import
import { ref, unref } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { useXTable } from '@/hooks/web/useXTable'
import { useMessage } from '@/hooks/web/useMessage'
import { FormExpose } from '@/components/Form'
import type { FormExpose } from '@/components/Form'
// 业务相关的 import
import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig'
import { rules, allSchemas } from './dataSourceConfig.data'