From 80b77a2eb70d9be2abfd74252dc218bf83118f23 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Thu, 22 Aug 2024 15:53:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=89=8D=E5=90=8E?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E5=80=BC=E5=8F=8D=E4=BA=86=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E7=BB=98=E5=88=B6=E6=96=B9=E6=A1=86=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/spectrumAnalysis/components/BetaGammaSpectrum.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/spectrumAnalysis/components/BetaGammaSpectrum.vue b/src/views/spectrumAnalysis/components/BetaGammaSpectrum.vue index fb62a96..1938de5 100644 --- a/src/views/spectrumAnalysis/components/BetaGammaSpectrum.vue +++ b/src/views/spectrumAnalysis/components/BetaGammaSpectrum.vue @@ -294,7 +294,12 @@ export default { this.initChart() }, + /** + * 设置方框范围 + * @param {number[][]} boundary + */ setBoundaryList(boundary) { + boundary.forEach((item) => item.sort((a, b) => a - b)) this.boundary = boundary this.reDrawRect() },