Pārlūkot izejas kodu

红包充值限制/红包发送消耗统计

三七 1 dienu atpakaļ
vecāks
revīzija
bda8672a4a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/course/courseRedPacketLogCount/index.vue

+ 2 - 2
src/views/course/courseRedPacketLogCount/index.vue

@@ -273,8 +273,8 @@ export default {
         const timeDiff = Math.abs(endDate - startDate);
         const diffDays = Math.ceil(timeDiff / (1000 * 60 * 60 * 24));
 
-        if (diffDays > 14) { // maxDays-1 因为包含起始日
-          this.$message.warning('时间区间不能超过个月');
+        if (diffDays > 31) { // maxDays-1 因为包含起始日
+          this.$message.warning('时间区间不能超过个月');
           return false;
         }
       }