浏览代码

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