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) {