weirenchun 1 年之前
父节点
当前提交
5f0c714d2e
共有 1 个文件被更改,包括 2 次插入1 次删除
  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
       }