feat: Enhance document viewer with original file support and code block copying functionality

This commit is contained in:
comqx
2025-12-07 13:44:17 +08:00
committed by lyingbug
parent a15e9cd1e6
commit b8a6367df2
4 changed files with 294 additions and 75 deletions
+5
View File
@@ -92,6 +92,11 @@ export default {
createTime: 'Create Time',
characters: 'chars',
segment: 'Segment',
chunkCount: 'Total {count} segments',
viewOriginal: 'View Original File',
viewChunks: 'View Chunks',
originalFileNotSupported: 'This file type does not support original file view. Please download to view.',
loadOriginalFailed: 'Failed to load original file content',
questions: 'Questions',
generatedQuestions: 'Generated Questions',
confirmDeleteQuestion: 'Are you sure you want to delete this question? The corresponding vector index will also be removed.',