소스 검색

feat: 修改

year 3 주 전
부모
커밋
b00680f244
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/app/[locale]/(TabBar)/[[...share]]/_home/DownloadSection.tsx

+ 2 - 2
src/app/[locale]/(TabBar)/[[...share]]/_home/DownloadSection.tsx

@@ -12,13 +12,13 @@ const DownloadSection = () => {
     useEffect(() => {
         const isCloseDownload = sessionStorage.getItem("isCloseDownload");
         if (isWebView() || isCloseDownload) {
-            setVisible(false);
+            setVisible(true);
         }
     }, []);
 
     const closeDownloadSection = () => {
         sessionStorage.setItem("isCloseDownload", "true");
-        setVisible(false);
+        setVisible(true);
     };
 
     if (visible) return null;