改用axios请求进行封装

This commit is contained in:
2025-05-07 09:25:51 +08:00
parent 53e82f9159
commit 491e1b119a
50 changed files with 511 additions and 12702 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ interface FilePreviewProps {
targetPage?: number; // 新增目标页码参数
}
export function FilePreview({ fileContent, reviewPoints, activeReviewPointResultId, targetPage }: FilePreviewProps) {
// export function FilePreview({ fileContent, reviewPoints, activeReviewPointResultId, targetPage }: FilePreviewProps) {
export function FilePreview({ fileContent, activeReviewPointResultId, targetPage }: FilePreviewProps) {
const [zoomLevel, setZoomLevel] = useState(100);
// const [highlightsVisible, setHighlightsVisible] = useState(true);
const contentRef = useRef<HTMLDivElement>(null);