Steven 1 год назад
Родитель
Сommit
64a8d34691
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/VIPCourseCell.m

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Course/View/VIPCourseCell.m

@@ -95,7 +95,7 @@
         self.courseStatus.text = @"已结束";
         self.courseStatus.text = @"已结束";
         self.courseStatus.textColor = HexRGB(0x999999);
         self.courseStatus.textColor = HexRGB(0x999999);
         // 判断显示评价还是已评价
         // 判断显示评价还是已评价
-        BOOL hasEvaluate = [model.teacherReplied isEqualToString:@"1"] ? YES : NO;
+        BOOL hasEvaluate = [model.studentReplied isEqualToString:@"1"] ? YES : NO;
         if (hasEvaluate == NO) {
         if (hasEvaluate == NO) {
             self.type = ACCOMPANY_DETAIL;
             self.type = ACCOMPANY_DETAIL;
             self.opreationButton.hidden = NO;
             self.opreationButton.hidden = NO;