Explorar o código

Update detail.vue

lex-xin %!s(int64=3) %!d(string=hai) anos
pai
achega
919f12e59e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 || '该课程未设置教学内容'