From 2feda41c7e597cbc15195644a8d6b1b5a4325469 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 20 Jul 2022 14:05:05 +0800 Subject: [PATCH] refactor: filelist --- yudao-ui-admin-vue3/src/api/infra/{file => fileList}/index.ts | 0 yudao-ui-admin-vue3/src/api/infra/{file => fileList}/types.ts | 0 yudao-ui-admin-vue3/src/views/infra/fileList/index.vue | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename yudao-ui-admin-vue3/src/api/infra/{file => fileList}/index.ts (100%) rename yudao-ui-admin-vue3/src/api/infra/{file => fileList}/types.ts (100%) diff --git a/yudao-ui-admin-vue3/src/api/infra/file/index.ts b/yudao-ui-admin-vue3/src/api/infra/fileList/index.ts similarity index 100% rename from yudao-ui-admin-vue3/src/api/infra/file/index.ts rename to yudao-ui-admin-vue3/src/api/infra/fileList/index.ts diff --git a/yudao-ui-admin-vue3/src/api/infra/file/types.ts b/yudao-ui-admin-vue3/src/api/infra/fileList/types.ts similarity index 100% rename from yudao-ui-admin-vue3/src/api/infra/file/types.ts rename to yudao-ui-admin-vue3/src/api/infra/fileList/types.ts diff --git a/yudao-ui-admin-vue3/src/views/infra/fileList/index.vue b/yudao-ui-admin-vue3/src/views/infra/fileList/index.vue index 67f227ba2..18872adfb 100644 --- a/yudao-ui-admin-vue3/src/views/infra/fileList/index.vue +++ b/yudao-ui-admin-vue3/src/views/infra/fileList/index.vue @@ -4,9 +4,9 @@ import dayjs from 'dayjs' import { ElMessage, ElUpload, UploadInstance, UploadRawFile, ElImage } from 'element-plus' import { useTable } from '@/hooks/web/useTable' import { useI18n } from '@/hooks/web/useI18n' -import type { FileVO } from '@/api/infra/file/types' +import type { FileVO } from '@/api/infra/fileList/types' import { allSchemas } from './fileList.data' -import * as FileApi from '@/api/infra/file' +import * as FileApi from '@/api/infra/fileList' import { getAccessToken, getTenantId } from '@/utils/auth' const { t } = useI18n() // 国际化