From d05a9f7a0a6fa372fffd32eeeebf98ac8120c0a3 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期二, 17 十二月 2024 14:44:16 +0800 Subject: [PATCH] 1111 --- src/views/standard/renshunum/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/standard/renshunum/index.vue b/src/views/standard/renshunum/index.vue index 91a8092..127c06a 100644 --- a/src/views/standard/renshunum/index.vue +++ b/src/views/standard/renshunum/index.vue @@ -108,8 +108,14 @@ }); }, getList() { - this.queryParams.beginTime = this.startTime[0]; + if(this.startTime){ + this.queryParams.beginTime = this.startTime[0]; this.queryParams.endTime = this.startTime[1]; + }else if(this.startTime == null){ + this.queryParams.beginTime = null; + this.queryParams.endTime = null; + } + getTiaoNumsByDate(this.queryParams).then((res) => { let myChart = this.$echarts.init(document.getElementById("main")); //浣犺繘鍏ラ〉闈㈠厛鎶婂浘琛ㄦ覆鏌撲簡 鐒跺悗鎵嶈幏鍙栫殑鏁版嵁鎶� -- Gitblit v1.8.0