From b6aa9cf68877b5a9aec7f3fda0f71a5e8ec233b4 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Wed, 2 Jul 2025 11:11:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8Dcount=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RoiLimits/components/RoiLimitItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/spectrumAnalysis/components/RoiLimits/components/RoiLimitItem.vue b/src/views/spectrumAnalysis/components/RoiLimits/components/RoiLimitItem.vue index 9ffabe1..b68a8bc 100644 --- a/src/views/spectrumAnalysis/components/RoiLimits/components/RoiLimitItem.vue +++ b/src/views/spectrumAnalysis/components/RoiLimits/components/RoiLimitItem.vue @@ -199,7 +199,7 @@ export default { handleTooltipFormat(params) { const [xAxis, count] = params[0].value const channel = Math.round(xAxis) - const channelData = this.channelData.all && this.channelData.all.pointlist[channel] + const channelData = this.channelData.all && this.channelData.all.pointlist[channel - 1] const energy = this.getEnergyByChannel(channel) this.axisInfo = { channel,