Răsfoiți Sursa

修复部分问题

warrior 1 lună în urmă
părinte
comite
bcdaed4c5d

+ 2 - 2
projects/textbook/src/modules/nav-province-contact/page-process/page-process.component.ts

@@ -178,11 +178,11 @@ export class PageProcessComponent implements OnInit {
         for (let j = 0; j < item?.get('textbookList').length; j++) {
           const book: Parse.Object = item?.get('textbookList')[j];
           let obj = await this.getEduReview(book.id);
-          console.log(obj);
           // console.log(book?.get('title') + '平均分' + num);
           if (obj.count) {
+            // console.log(obj);
             if (
-              item?.get('calculation') == 'truncatedMean' &&
+              this.activity?.get('calculation') == 'truncatedMean' &&
               obj.sort.length > 3
             ) {
               let cut = compute.addNum(