소스 검색

初始值1%进度

李富豪 1 년 전
부모
커밋
4df5ce926b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/components/home.tsx

+ 1 - 1
app/components/home.tsx

@@ -31,7 +31,7 @@ import { type ClientApi, getClientApi } from "../client/api";
 import { useAccessStore } from "../store";
 
 export function Loading() {
-  const [progress, setProgress] = useState(0);
+  const [progress, setProgress] = useState(1);
 
   useEffect(() => {
     let isMounted = true;