lex-xin 3 rokov pred
rodič
commit
919f12e59e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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 || '该课程未设置教学内容'