瀏覽代碼

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) {