From 3affb8887f5eff7d3c12f919aac7fe57da3a0f03 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期六, 18 一月 2025 11:57:26 +0800
Subject: [PATCH] 计算预测项 表达式数据异常判定bug

---
 src/views/model/pre/item/MmPredictItemForm.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/model/pre/item/MmPredictItemForm.vue b/src/views/model/pre/item/MmPredictItemForm.vue
index fc87750..c8eee15 100644
--- a/src/views/model/pre/item/MmPredictItemForm.vue
+++ b/src/views/model/pre/item/MmPredictItemForm.vue
@@ -665,7 +665,7 @@
 
     let flag = false
     expressionList.value.forEach((e,index) => {
-      if (e.point == undefined || e.point === '' || e.operator == undefined || (e.operator === '' && index != expressionList.value.length - 1)) {
+      if (e.point == undefined || e.point === '' || ((e.operator == undefined || e.operator === '') && index != expressionList.value.length - 1)) {
         message.error("表达式数据异常")
         flag = true
         return

--
Gitblit v1.9.3