ソースを参照

Update index.tsx

lex 3 年 前
コミット
f553b18854
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/student/share-active/track-review-activity/index.tsx

+ 1 - 1
src/student/share-active/track-review-activity/index.tsx

@@ -62,7 +62,7 @@ export default defineComponent({
     },
     // this.activeInfo.activityRewardList
     rewardList() {
-      const activityRewardList = this.activeInfo.activityRewardList
+      const activityRewardList = this.activeInfo?.activityRewardList
       console.log(activityRewardList)
       let list = activityRewardList || []
       if (activityRewardList && activityRewardList.length > 0) {