From e27e134b6d0b7a656c9d92cde5261c3ada694543 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期一, 20 十一月 2023 17:49:59 +0800 Subject: [PATCH] feat: 切换设备后如果只有一个通道自动切到单通道;如果没有配置plc也要展示骨架屏 --- 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