weirenchun 1 year ago
parent
commit
5f0c714d2e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/home/components/left2.vue

+ 2 - 1
src/views/home/components/left2.vue

@@ -69,9 +69,10 @@ export default {
       const m = new Date().getMonth() + 1
       const d = new Date().getDate() - 1
       let nowDate = y + '-' + m + '-' + d + ' ' + '00:00:00'
+      let now = y + '-' + m + '-' + new Date().getDate() + ' ' + '00:00:00'
       const data = {
         createStartTime: nowDate,
-        createEndTime: nowDate,
+        createEndTime: now,
         current: 1,
         size: 10000
       }