Explorar o código

首页日期参数

wangtao %!s(int64=2) %!d(string=hai) anos
pai
achega
9d1154586d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/index.vue

+ 1 - 1
src/views/index.vue

@@ -389,7 +389,7 @@ export default {
       }else{
         this.monthParameter = tMonth
       }
-      this.dateCollectType(0, tYear + '-' + tMonth + '-' + '00' + ' 00:00:00', tYear + '-' + tMonth + '-' + lastDay + ' 23:59:59')
+      this.dateCollectType(0, tYear + '-' + tMonth + '-' + '01' + ' 00:00:00', tYear + '-' + tMonth + '-' + lastDay + ' 23:59:59')
     },
     dateCollectType(type, startTime, endTime){
       dateCollectApi(this.addDateRange({"type":type, "startTime":startTime, "endTime":endTime})).then(response =>{