소스 검색

fix: 修复月报显示bug

fjc 1 년 전
부모
커밋
c5af9f5b9c
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      src/views/message/reportmessage/class.ts

+ 1 - 5
src/views/message/reportmessage/class.ts

@@ -125,11 +125,7 @@ export const toReportMessage = (form: reportMessage, receivedData: finalReportMe
         })
     }
     if(receivedData.statisticType === 2){
-        
-        // form.dayOfMonthList[0] = receivedData.dayOfMonthList[0].toString()
-        form.dayOfMonthList.push(receivedData.dayOfMonthList[0].toString())
-        // form.dayOfMonthList.splice(0, form.dayOfMonthList.length);
-        // form.dayOfMonthList.push(receivedData.dayOfMonthList[0])
+        form.dayOfMonthList[0] = receivedData.dayOfMonthList[0].toString()
     }
     if(receivedData.statisticType === 4){
         form.monthAndDayList.length = 0