From 02cb643d8cf7cfa5004b613e26715947c36410c1 Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Tue, 14 Mar 2023 17:25:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=AD=90=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ChildDevice/EdgeMap/PatchMapping.vue | 2 + .../Detail/ChildDevice/EdgeMap/index.vue | 64 +++++----- .../Detail/ChildDevice/SaveChild/index.vue | 114 +++++++++--------- .../Instance/Detail/ChildDevice/index.vue | 10 +- .../device/Instance/Detail/EdgeMap/index.vue | 1 + .../rule-engine/Alarm/Configuration/index.vue | 12 +- 6 files changed, 97 insertions(+), 106 deletions(-) diff --git a/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue b/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue index e28e2733..6d2c80ab 100644 --- a/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue +++ b/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue @@ -178,6 +178,8 @@ const handleClick = async () => { _emits('save'); } } + } else { + message.error('暂无对应属性的映射'); } } } diff --git a/src/views/device/Instance/Detail/ChildDevice/EdgeMap/index.vue b/src/views/device/Instance/Detail/ChildDevice/EdgeMap/index.vue index a6c8b265..10d5fc07 100644 --- a/src/views/device/Instance/Detail/ChildDevice/EdgeMap/index.vue +++ b/src/views/device/Instance/Detail/ChildDevice/EdgeMap/index.vue @@ -1,5 +1,5 @@