From a4a0ddef7658e6b7ae7cfb807af19f089f96acc8 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 28 九月 2023 14:53:39 +0800
Subject: [PATCH] 如果沒有任务前端需要是模拟后台数据结push空数据进去+2个任务的时候下发成功,跳转的不是当前选中的

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