From c5870d04b3a4a6028ea367d475a17bbce45aa9c6 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 19 九月 2023 11:41:55 +0800
Subject: [PATCH] 报错处理  2023-9-19

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