From fdffb4ac507504b14687f692cecf4d69b4c43f3d Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Wed, 19 Jun 2024 18:11:39 +0800 Subject: [PATCH] add --- src/views/workbench/earnings/index.vue | 8 ++++---- src/views/workbench/index.vue | 14 ++++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/views/workbench/earnings/index.vue b/src/views/workbench/earnings/index.vue index 2534647..e887ab0 100644 --- a/src/views/workbench/earnings/index.vue +++ b/src/views/workbench/earnings/index.vue @@ -7,8 +7,8 @@
-
{{ item.title }}
-
{{ item.value() }}
+
{{ item.title }}
+
{{ item.value() }}
@@ -27,8 +27,8 @@
-
{{ item.title }}
-
{{ item.value() }}
+
{{ item.title }}
+
{{ item.value() }}
diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index 26f89ef..0462c41 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -16,8 +16,8 @@
-
{{ item.title }}
-
{{ item.value() }}
+
{{ item.title }}
+
{{ item.value() }}
@@ -27,8 +27,8 @@
-
{{ item.title }}
-
{{ item.value() }}
+
{{ item.title }}
+
{{ item.value() }}
@@ -88,10 +88,8 @@ const deteToQuery = () => { function getFirstAndLastDayOfCurrentMonth() { var today = new Date(); - var firstDay = new Date(today.getFullYear(), today.getMonth(), 1); - var lastDay = new Date(today.getFullYear(), today.getMonth() + 1, 0); - var firstDayFormatted = formatDate(firstDay); - var lastDayFormatted = formatDate(lastDay); + var firstDayFormatted = formatDate(today); + var lastDayFormatted = formatDate(today); return { firstDay: firstDayFormatted, lastDay: lastDayFormatted }; }