Bladeren bron

Update index.tsx

lex 3 jaren geleden
bovenliggende
commit
f553b18854
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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
     // this.activeInfo.activityRewardList
     rewardList() {
     rewardList() {
-      const activityRewardList = this.activeInfo.activityRewardList
+      const activityRewardList = this.activeInfo?.activityRewardList
       console.log(activityRewardList)
       console.log(activityRewardList)
       let list = activityRewardList || []
       let list = activityRewardList || []
       if (activityRewardList && activityRewardList.length > 0) {
       if (activityRewardList && activityRewardList.length > 0) {