浏览代码

Merge branch 'feature-year0415' into v1.4

year 3 月之前
父节点
当前提交
5e074c876f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/app/[locale]/(doings)/jackpot/page.tsx

+ 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),