perf: aotu import hooks

This commit is contained in:
xingyu
2023-01-18 14:23:45 +08:00
parent fcd19e1371
commit 8c74e527a9
132 changed files with 116 additions and 308 deletions

View File

@@ -1,5 +1,4 @@
import { DICT_TYPE } from '@/utils/dict'
import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas'
import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
// CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({

View File

@@ -52,12 +52,9 @@
</XModal>
</template>
<script setup lang="ts" name="ApiErrorLog">
import { useI18n } from '@/hooks/web/useI18n'
import { useXTable } from '@/hooks/web/useXTable'
import { allSchemas } from './apiErrorLog.data'
import * as ApiErrorLogApi from '@/api/infra/apiErrorLog'
import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants'
import { useMessage } from '@/hooks/web/useMessage'
const { t } = useI18n() // 国际化
const message = useMessage()