소스 검색

Update index.tsx

lex 2 년 전
부모
커밋
d29aeb48e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/student/ranking-list/index.tsx

+ 1 - 1
src/student/ranking-list/index.tsx

@@ -78,7 +78,7 @@ export default defineComponent({
             forms.practiceMonth = ''
             forms.endTime = ''
             if (!dayjs(item[0]).isBetween(dayjs(forms.practiceMonth), dayjs(forms.endTime))) {
-              forms.practiceMonth = dayjs(item[0]).day(1).format('YYYY-MM-DD')
+              forms.practiceMonth = dayjs(item[0]).day(1).format('YYYYMMDD')
               forms.endTime = dayjs(item[0]).day(7).format('YYYY-MM-DD')
             }
             state.showPopoverTime = false