Prechádzať zdrojové kódy

feat: 修改前置验证

year 3 mesiacov pred
rodič
commit
f5c99036d2

+ 1 - 0
src/app/[locale]/(doings)/jackpot/page.tsx

@@ -136,6 +136,7 @@ const Jackpot: React.FC = () => {
     };
 
     const doClaim = async () => {
+        if (!(curTabData?.is_unlock && !curTabData.is_suss)) return;
         try {
             const res = await claimActivityReward({
                 activity_id: Number(activeId),