From fc15f2e904fade9e1505bad70b29829d7d99c124 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期三, 05 六月 2024 12:04:59 +0800
Subject: [PATCH] 1

---
 src/views/mdc/components/recordChartsByDate.vue |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/views/mdc/components/recordChartsByDate.vue b/src/views/mdc/components/recordChartsByDate.vue
index 80303b2..420422a 100644
--- a/src/views/mdc/components/recordChartsByDate.vue
+++ b/src/views/mdc/components/recordChartsByDate.vue
@@ -16,14 +16,6 @@
     components: {saveDialog},
     props: ['achievements','date','workstationInfoList'],
     watch: {
-        date(val) {
-            this.current = "1";
-            this.getCharts();
-        },
-        workstationInfoList(val) {
-            this.current = "1";
-            this.getCharts();
-        }
     },
     data() {
         return {
@@ -93,6 +85,8 @@
             return stauts;
         },
         getCharts() {
+            console.log(this.workstationInfoList.length == 0,this.date == "",this.date,333)
+            if(this.date == "") return;
             var obj = {
                 date: this.date,
                 humanFeedback: true,

--
Gitblit v1.9.3