From 6565e619523f045ba3e5e15a5bf3ea3ccbb33ba2 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 28 九月 2023 10:26:01 +0800
Subject: [PATCH] 如果工艺参数是空,或者报错,弹框提示工艺参数错误的提示而不是新任务的弹框

---
 src/components/AddControl.vue |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/components/AddControl.vue b/src/components/AddControl.vue
index 478c5e6..27a2799 100644
--- a/src/components/AddControl.vue
+++ b/src/components/AddControl.vue
@@ -104,13 +104,7 @@
           }
         }) 
       }else{
-        this.$confirm( "褰撳墠璁惧娌℃湁宸ュ簭!", "鎻愮ず", {
-          confirmButtonText: "纭畾",
-          cancelButtonText: "鍙栨秷",
-          type: "warning",
-        })
-          .then(() => {})
-          .catch(() => {});
+        this.$message.error("褰撳墠璁惧娌℃湁宸ュ簭锛�");
        
       }
     },

--
Gitblit v1.8.0