瀏覽代碼

修改活动日志错误

asd123a20 2 年之前
父節點
當前提交
5ce7cb6ebc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/activity/activitylog.vue

+ 1 - 1
src/views/activity/activitylog.vue

@@ -179,7 +179,7 @@ export default {
         this.activitylogList = response.rows.map(e => {
           e.pointStatus = e.pointStatus == 0 ? '未发放' : '已发放';
           e.checkinStatus = e.checkinStatus == 0 ? '报名' : '签到';
-          e.activity.typeText = this.typeOptions.find(j => j.value == e.activity.type)?.label;
+          if (e.activity) e.activity.typeText = this.typeOptions.find(j => j.value == e.activity.type)?.label;
           return e;
         });
         this.total = response.total;