浏览代码

Update detail.vue

lex-xin 3 年之前
父节点
当前提交
919f12e59e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/afterClassEvaluate/detail.vue

+ 1 - 1
src/views/afterClassEvaluate/detail.vue

@@ -130,7 +130,7 @@ export default {
         courseScheduleId: this.id
       }
 
-      if(this.isReview) {
+      if(this.isReview && this.reviewId && this.reviewId > 0) {
         const res = await getReviewInfo({ id: this.reviewId });
         const result = res.data
         tempMemo = result.courseScheduleReview.memo || '该课程未设置教学内容'