进度条优化

This commit is contained in:
2025-04-25 14:12:36 +08:00
parent 0eaaa5b041
commit b9b5be1d47
9 changed files with 377 additions and 270 deletions
+2
View File
@@ -1,5 +1,6 @@
import { useNavigate } from "@remix-run/react";
import { useState } from "react";
import { loadingBarService } from "~/components/ui/LoadingBar";
interface FileInfoProps {
fileInfo: {
@@ -65,6 +66,7 @@ export function FileInfo({ fileInfo, onConfirmResults }: FileInfoProps) {
// 设置导航状态为true
setIsNavigating(true);
loadingBarService.show();
// 根据来源页面返回
const previousRoute = fileInfo.previousRoute || 'documents';