Browse Source

首页跳转2月20号之前

wolyshaw 4 năm trước cách đây
mục cha
commit
59e43280e0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/views/main/constant.js

+ 1 - 0
src/views/main/constant.js

@@ -106,6 +106,7 @@ export const errorType = {
     query: {
       searchType: 'ERR_ATTENDANCE',
       ...dates,
+      start: dayjs('2021-02-20').isBefore(dayjs(dates.start)) ? dates.start : '2021-02-20',
     },
   },
   TEACHER_NOT_A_CLASS: {