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() },