Browse Source

Update index.tsx

lex 2 năm trước cách đây
mục cha
commit
d29aeb48e1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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