From f9f3516e64ca0cf960bd1a7c8a3799e08505915b Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Thu, 16 Nov 2023 15:58:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BF=AE=E6=94=B9=E6=8E=92?= =?UTF-8?q?=E9=99=A4=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/model/heatapiconf/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/model/heatapiconf/index.vue b/src/views/model/heatapiconf/index.vue index 29b10e8..eb9b7de 100644 --- a/src/views/model/heatapiconf/index.vue +++ b/src/views/model/heatapiconf/index.vue @@ -287,13 +287,13 @@ function handleUpdate(row) { }) return; } + getListDevice(row.orgCode); getHeatapiconf(_id).then(response => { form.value = response.data; form.value.excludeDevices = form.value.excludeDevices?.split(","); open.value = true; title.value = "修改供热办推送接口配置"; }); - getListDevice(); } /** 提交按钮 */ @@ -462,7 +462,7 @@ function turnToParamConf(row){ function getListDevice(orgCode) { let param = {}; - if(orgCode != null){ + if(orgCode != null && typeof orgCode === 'string'){ param.orgCode = orgCode; }else{ param.orgCode = form.value.orgCode;