#
Junjie
2026-02-03 ffb1ff9e62495bd906d41c2b7266b111862b2f43
#
2个文件已修改
13 ■■■■ 已修改文件
components/EChartsLine/EChartsLine.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/dashboard/dashboard.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/EChartsLine/EChartsLine.vue
@@ -240,16 +240,16 @@
            fontSize: 14
          },
          formatter: function(params) {
            let result = params[0].axisValue + '<br/>'
            let result = params[0].axisValue + '\n'
            params.forEach(param => {
              result += `${param.seriesName}: ${param.value}<br/>`
              result += `${param.seriesName}: ${param.value}\n`
            })
            return result
          }
        }
      }
      
      myChart.setOption(option, true)
      myChart.setOption(option)
    },
    
    resize() {
pages/dashboard/dashboard.vue
@@ -329,7 +329,7 @@
            setInterval(() => {
                this.getInOutLineCharts();
                this.getLocDetlStatistics();
            }, 60000);
            }, 1000);
        },
        onUnload() {
            if (this.timer) {
@@ -474,10 +474,9 @@
                                    series: newSeries
                                };
                                
                                this.isLineChartReady = false;
                                this.$nextTick(() => {
                                if (!this.isLineChartReady) {
                                    this.isLineChartReady = true;
                                });
                                }
                            }
                        }
                    }