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

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