refactor(frontend): 重构前端第二版

This commit is contained in:
sophie committed 2026-06-11 13:47:06 +08:00
1 parent 2631f78b00
commit 4b562cfa82
205 files changed
+15399 -12015

No files matched your search

@@ -1,4 +1,4 @@
/**
/**
* features/chat/composables/useChatSourceFiles.ts
* 检索来源 / 源文件链接解析与预览。
*/
@@ -6,7 +6,7 @@ import { ref, type ComputedRef, type Ref } from 'vue';
import type { ComposerTranslation } from 'vue-i18n';
import { resolveChatSourceFile } from '../api/chat.api';
import type { SourceFileLink } from '../types/chat.types';
import type { useMessage } from '@/composables/useMessage';
import type { useMessage } from '@/shared/composables/useMessage';
const PREFERRED_SOURCE_EXTS = new Set([
'pdf', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'csv',