Jelajahi Sumber

Update index.tsx

lex 3 tahun lalu
induk
melakukan
f553b18854
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) {