From 0054f989c03f89bbf3a96ed591437582810ffdc7 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Wed, 29 Oct 2025 14:07:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/plan/planList/components/planPopup.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/views/plan/planList/components/planPopup.vue b/frontend/src/views/plan/planList/components/planPopup.vue index c45e130..7d127a1 100644 --- a/frontend/src/views/plan/planList/components/planPopup.vue +++ b/frontend/src/views/plan/planList/components/planPopup.vue @@ -1201,11 +1201,17 @@ const handleDataSourceChange = () => { // 判断是否同时包含 '3s' 和 '分钟' const hasThreeSeconds = selectedLabels.some(label => label.includes('3s')) const hasMinuteStats = selectedLabels.some(label => label.includes('分钟')) + const hasLuBo = selectedLabels.some(label => label.includes('录波')) if (hasThreeSeconds && hasMinuteStats) { ElMessage.warning('3s实时数据与分钟统计数据不能同时选择') formContent.datasourceIds = [] } + + if(hasLuBo && hasMinuteStats){ + ElMessage.warning('录波数据与分钟统计数据不能同时选择') + formContent.datasourceIds = [] + } // 判断是否选择了多个“分钟统计数据”项 const minuteStatLabels = selectedLabels.filter(label => label.includes('分钟')) if (minuteStatLabels.length > 1) {